Scroll to top of current tab when it is pressed again in TabNavigator
complete
Brent Vatne
complete
this is done in 3.0.0-alpha.11 - see https://github.com/react-navigation/react-navigation/blob/000f8afe8f2cbe4854d23c71c73ffe6a91f9e9f1/src/react-navigation.js#L17-L28 and https://github.com/react-navigation/react-navigation/blob/000f8afe8f2cbe4854d23c71c73ffe6a91f9e9f1/examples/NavigationPlayground/js/StacksInTabs.js#L8-L28
Ibnu Prayogi
Brent Vatne: How to use it? thanks
Brent Vatne
Ibnu Prayogi: https://reactnavigation.org/docs/en/scrollables.html
slap
Brent Vatne: is there another resource for this now that that link is obsolete?
Brent Vatne
Brent Vatne
in roadmap for 3.0: https://github.com/react-navigation/react-navigation/issues/4434
Brent Vatne
planned
Justin Stanley
+1 for this. On iOS, at least you can tap on the status bar to scroll to the top, but on Android, there's no easy way for this to happen. So definitely most beneficial on Android.
Brent Vatne
agree that this is important, it's one of the things i plan on working on soonish. see https://github.com/react-navigation/react-navigation/issues/3588
A
Arno Fortelny
Brent Vatne: Hurray, thanks!