You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe, the header component has a height such as 300.
When i execute scrollToEnd methods, i hope the list scroll to end, and the scroll distance should includes the header height (now 300).
But, it will scroll unexpected. the list will scroll to an uncertain position.
Based on my observation, it seemingly did not computed and included the header height.
Whether this is a bug or not ? How can i solve it in current version ?
The text was updated successfully, but these errors were encountered:
kid-wumeng
changed the title
the scrollToEnd / scrollToOffset methods of FlatList execute unexpected
the scrollToEnd / scrollToOffset methods of FlatList execute unexpected if set ListHeaderComponent prop
Sep 5, 2017
It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue that meets the requirements set forth in the template. Thanks!
Hi, good people... thanks your contributions for react-native, the amazing framework.
Now... I happen the issue, very headache...
react-native version: 0.47.1
Example, render the FlatList like this:
Maybe, the header component has a height such as 300.
When i execute
scrollToEnd
methods, i hope the list scroll to end, and the scroll distance should includes the header height (now 300).But, it will scroll unexpected. the list will scroll to an uncertain position.
Based on my observation, it seemingly did not computed and included the header height.
Whether this is a bug or not ? How can i solve it in current version ?
The text was updated successfully, but these errors were encountered: