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

Bad scrolling with Android Pie 9 and Pixel 2 XL #951

Closed
zupodaniel opened this issue Aug 21, 2018 · 16 comments
Closed

Bad scrolling with Android Pie 9 and Pixel 2 XL #951

zupodaniel opened this issue Aug 21, 2018 · 16 comments
Labels

Comments

@zupodaniel
Copy link

Issue Description

When scrolling enters in the "momentum" phase (after releasing finger) the chat view starts to scroll in the opposite direction

Steps to Reproduce / Code Snippets

Just scrolls the chat view using fast finger swipe

Additional Information

  • React Native version: 0.55.0
  • react-native-gifted-chat version: 0.4.3
  • Platform(s): Android 9
@gusgoose
Copy link

Yes, I have noticed this too. Interestingly, though, I have noticed precisely the same problem with Airbnb's chat in their app. I suppose it's unlikely they use gifted chat in their app, but there's a good chance that bit is built in react native... So perhaps something to do with a particular implementation of listview?

@zupodaniel
Copy link
Author

It's possible to be related to react-native-invertible-scroll-view. As soon as possible I'll create an issue there.

@arik-gamerlink
Copy link

Any update on this?

@dolphinflow86
Copy link

+1

@rsmelo92
Copy link

+1 (pixel 1 android 9)

@danalloway
Copy link

See facebook/react-native#19434

@ggsrivas
Copy link

did anyone find any workaround for this? React native ticket has few workarounds but that requires modifying the react-native code and then building and generating the .aar file. Does anyone have any other suggestion?

@mandrigin
Copy link

@ggsrivas it's an issue in scrollviews in Android 9, they break momentum when you apply negative scaling to them (that exactly what scroll view inversion does in RN).
So the options that I see are:

  • not using inverted scrollviews and inverting the data instead
  • bundling your own scrollview implementation for Android (as a native module, maybe it is possible to inherit the scrollview and override fling method.

@agustinmorantes
Copy link

Same issue (Oneplus 6 Android 9.0)

@wangxiexe
Copy link

please help fix.

@z0al
Copy link

z0al commented Dec 2, 2018

This issue has been fixed in React Native v0.57.7, Please check it.

@OmarBasem
Copy link

I am having the same issue it is not fixed in rn v0.57.7

@erez-guesty
Copy link

any update?

@rsmelo92
Copy link

Apparently fixed on new release 0.58 facebook/react-native@b971c5b

@stale
Copy link

stale bot commented Mar 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 26, 2019
@stale stale bot closed this as completed Apr 2, 2019
@MamyChow
Copy link

Add inverted={false} in props solve my problem

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

No branches or pull requests