gitpoint / gitpoint/git-point

Shared FlatList in search screen causes incorrect scrolling behaviour

Open
#764 0 comments 0 reactions 0 assignees View on GitHub
:bug: bug
Dominant language
JavaScript
Stars
4.8k
Forks
771
PR merge metrics
No merged PRs in 30d

Description

Thanks @machour for catching this.

> Having a single FlatList to handle the various search type results may not be a good idea:
>
> If you search for "react", display results for Repositories and Users, then scroll down on Repositories, when you get back to the Users tab, the list will have been scrolled.
>

Contributor guide

Open the contributing guide

Research direction

Start by locating the search screen and its shared FlatList, then reproduce the issue by searching for "react," scrolling the Repositories results, and returning to the Users tab. Done means each search-result tab retains its own scroll position instead of inheriting the other tab's position.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.