Shopify / Shopify/flash-list

Scroll position changes when navigating back to a list in react navigation stack

Open
#1,816 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P1 v2.0
Dominant language
TypeScript
Stars
7.2k
Forks
393
Avg merge
1d 3h
Merged PRs (30d)
1

Description

Current behavior

Upon navigating backwards, the list's scroll position is different from where it was originally.

Expected behavior

The scroll position should not change.

Platform:

  • Web
  • iOS
  • Android

Environment

2.0.1

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

No file or test is named. Start by reproducing the issue on Web with the React Navigation stack and environment 2.0.1, recording the list position before and after navigating back. Done means the list returns to its original scroll position.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.