Skip to content

Tag: react-navigation

React native Context API react-navigation

React native: ^0.64.0, @react-navigation/native-stack: ^6.1.0 @react-navigation/bottom-tabs: 6.0.5 @react-navigation/native: 6.0.2 I have a login screen. If the user passes the login screen the app leads the user to a the main part of the app. This is is the MainScreen with a bottom tab bar. The bottom tab ba…

Press tab to scroll to top of flatlist

I would like to implement scrolling to top. My tab is a flatlist, and when users scroll down the flatlist, they have to scroll back up. Instagram and Twitter allow you to press the tab to scroll back up, I am wondering how to implement it in my own app. Here is the tab I want to implement scrolling to