[Android] Consecutive animated "scrollTo" skip animation #26323
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.
This bug happens with
ScrollView
andFlatList
; perhaps everything usingScrollResponder
. When usingscrollTo
(scrollToOffset
/scrollToIndex
..) withanimated: true
during the animation of anotherscrollTo
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:
Steps To Reproduce
scrollTo
(withanimated: true
) from a ref of aScrollView
/FlatList
scrollTo
(withanimated: true
) again from the same ref during the previous animationDescribe 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.
The text was updated successfully, but these errors were encountered: