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

[Android] Consecutive animated "scrollTo" skip animation #26323

Closed
kornfleks opened this issue Sep 4, 2019 · 2 comments
Closed

[Android] Consecutive animated "scrollTo" skip animation #26323

kornfleks opened this issue Sep 4, 2019 · 2 comments
Labels
API: Animated Bug Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@kornfleks
Copy link

This bug happens with ScrollView and FlatList; perhaps everything using ScrollResponder. When using scrollTo (scrollToOffset / scrollToIndex ..) with animated: true during the animation of another scrollTo the first animation is stopped and the next animation is skipped (despite the fact that it is scrolling to the right offset, but without animation).

React Native version:

System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
    Memory: 7.99 GB / 15.94 GB
  Binaries:
    Node: 11.14.0 - D:\Program Files\node.EXE
    npm: 6.7.0 - D:\Program Files\npm.CMD
react-native: 0.60.5

Steps To Reproduce

  1. Call scrollTo (with animated: true) from a ref of a ScrollView / FlatList
  2. Call scrollTo (with animated: true) again from the same ref during the previous animation

Describe what you expected to happen:

Previous animation has to be reused by the next animation and none of the next animation has to be skipped.
If you have a stock Android, you can try the scrollbar of the application list from the default launcher. It jump smoothly from row to row (when using the alphabetic scrollBar) without animation cuts.

@stale
Copy link

stale bot commented Dec 3, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 3, 2019
@stale
Copy link

stale bot commented Dec 10, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 10, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Animated Bug Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants