[IOS]ScrollView does not scroll to correct position after updating contentOffset, children and its height at the same time #26403
Labels
Bug
Component: ScrollView
Platform: iOS
iOS applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
There is a horizontal ScrollView which height and content may change. When I shorten the height and make the content wider, I update the contentOffset expecting the ScrollView scroll to the correct position. But it only works occasionally
React Native version:
Steps To Reproduce
Here is the code to reproduce:
As the code above, after pressing "change" , the ScrollView should scroll to "test5", but sometimes it scroll to "test3":
Describe what you expected to happen:
ScrollView always scroll to correct position after updating contentOffset
The text was updated successfully, but these errors were encountered: