SectionList sroll to item after setState not working on Android #25202
Labels
Bug
Component: SectionList
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Please see this snack for a demo.
A short description: I want to develop a component that allows users to add entries to a list that is being displayed in a SectionList . When the latest entry is out of the screen bounds, I want the SectionList to scroll to it's location. I do this by calling
ScrollToLocation(params)
in the completion callback ofsetState
. On iOS this works, but on Android, the list scroll to the second last item rather than the lastReact Native version:
Steps To Reproduce
Describe what you expected to happen:
I expect the state to be updated and the render finished when the callback of setState gets fired, but apparently this is not the case in Android
The text was updated successfully, but these errors were encountered: