Shopify / Shopify/flash-list

Focus changes when updating data (flash-list 2.0)

Open
#1,843 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug P2
Dominant language
TypeScript
Stars
7.2k
Forks
392
Avg merge
1d 3h
Merged PRs (30d)
1

Description

Current behavior

The behavior reported in #1337 is still happening with recent React Native (0.79.5), flash-list 2, and new arch. I'm seeing it on Android TV.

Expected behavior

The example should scroll to the correct index on focus changes.

To Reproduce

The reproducer at https://github.com/douglowder/flash-list-tv-focus-test has been updated to flash-list 2.0

Platform:

  • iOS
  • Android

Environment

flash-list 2.0.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with issue #1337 and the linked flash-list-tv-focus-test reproducer, using React Native 0.79.5, flash-list 2.0.3, and the new architecture on Android TV. Trace the focus-change behavior and verify that the example scrolls to the correct index after data updates on the listed platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.