Focus changes when updating data (flash-list 2.0)
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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