We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Actions.refresh
Tell us which versions you are using:
When calling Actions.refresh() screen position should be reset to the top of the screen
Actions.refresh()
The screen currently stays where it was before refresh
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
The text was updated successfully, but these errors were encountered:
I guess this isn't possible without having a ref to the ScrollView unless you were to loop through elements in a component recursively.
ref
ScrollView
Note that this can be done like so:
<ScrollView ref={ref => this.scroll_view = ref}/>
scrollToTop() { this.scroll_view.scrollTo({ y: 0 }); }
Sorry, something went wrong.
No branches or pull requests
Version
Tell us which versions you are using:
Expected behaviour
When calling
Actions.refresh()
screen position should be reset to the top of the screenActual behaviour
The screen currently stays where it was before refresh
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Actions.refresh()
The text was updated successfully, but these errors were encountered: