Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inverted FlatList scroll issue on Android #171

Closed
lebedev opened this issue May 11, 2018 · 8 comments
Closed

Inverted FlatList scroll issue on Android #171

lebedev opened this issue May 11, 2018 · 8 comments

Comments

@lebedev
Copy link
Contributor

lebedev commented May 11, 2018

Hi.

I've found a bug. If you pass inverted prop to FlatList with RNGH scroll, then FlatList would scroll in opposite direction sometimes if you make short quick scroll gestures. This happens on Android only. iOS isn't affected.

See the video. Notice directions of gestures I make.

Check testcase repo. It's easily reproducible.

@TheBottleSeller
Copy link

TheBottleSeller commented Aug 24, 2018

Duplicate: check out facebook/react-native#19434

@lebedev
Copy link
Contributor Author

lebedev commented Aug 24, 2018

It's not. The bug is reproducible on Android API 26 (lower that P), and if in my testcase repo you replace ScrollView import from RNGH to that from react-native, then it would work as intended. So it's specifically a RNGH issue, and doesn't come from upstream.

@TheBottleSeller
Copy link

Ah noted, thanks for clarifying... will strike out my comment. Good luck, currently this is the behaviour being seeing on Android Pi for even the RN ScrollView

@kabus202
Copy link

any update on this issue? @angly-cat did you solve this problem?

@lebedev
Copy link
Contributor Author

lebedev commented Dec 24, 2018

@kabus202 I didn't. I just removed using RNGH's ScrollView in my inverted FlatList.

@OmarBasem
Copy link

I am having the same problem, will react native team ever fix this? :/

@danieljennings
Copy link

danieljennings commented Jan 17, 2019

Looks like it was fixed in RN (and Expo) source code in November:
facebook/react-native@b971c5b

@lebedev
Copy link
Contributor Author

lebedev commented Jan 18, 2019

I've tested my testcase with the latest RNGH and [email protected] and it seems that the issue is indeed fixed. Therefore closing this issue as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants