disabledIndices: getCellIndices(
              [
                ...(disabledIndices ||
                  listRef.current.map((_, index) =>
                    isDisabled(listRef.current, index) ? index : undefined,