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

iOS scrollsToTop #4

Open
skv-headless opened this issue May 15, 2017 · 0 comments
Open

iOS scrollsToTop #4

skv-headless opened this issue May 15, 2017 · 0 comments

Comments

@skv-headless
Copy link

skv-headless commented May 15, 2017

Please look at the header
https://www.dropbox.com/s/neb61iatjzacnz8/collapsing_bug.mov?dl=0
After gesture release scroll still going with deceleration even if scrollsToTop happened.
when I was debugging https://github.com/facebook/react-native/blob/master/Libraries/NativeAnimation/Nodes/RCTDiffClampAnimatedNode.m#L49
it seems that it getting events from 2 sources

  1. scroll to to top
  2. decelerating scroll (which is not happening)

Thanks for this example working like a charm!

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

1 participant