collapsible-navbar icon indicating copy to clipboard operation
collapsible-navbar copied to clipboard

iOS scrollsToTop

Open skv-headless opened this issue 7 years ago • 0 comments

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!

skv-headless avatar May 15 '17 07:05 skv-headless