Tabs flag for swiping not working
See original GitHub issueVersion
Tell us which versions you are using:
- react-native-router-flux 4.0.0-beta.40
- react-native 0.55.4
Expected behaviour
When the flag swipeEnabled is set to true, user should be able to swipe through the tabs
I have my tabs layout like this:
<Tabs key="tabbar" tabs={true} swipeEnabled={true} showLabel={false} hideNavBar style={{ marginTop: -50 }} type={ActionConst.RESET}>
<Scene key="contacts" component={Contacts} hideNavBar type={ActionConst.RESET}/>
<Scene key="chats" component={Chats} hideNavBar initial={true} type={ActionConst.RESET}/>
<Scene key="profile" component={Profile} hideNavBar type={ActionConst.RESET}/>
</Tabs>
The same goes for not be able to hide the tab Bar Component which is at the bottom by default.
Actual behaviour
Swiping is not available. Only works switching via bottom nav
Issue Analytics
- State:
- Created 5 years ago
- Comments:29 (9 by maintainers)
Top Results From Across the Web
(Chrome on Android 10) Cannot swipe down for tab switcher
Just recently I discovered that the gesture no longer works, and I have to use the button to open tab view.
Read more >[Bug] No preview when swiping between tabs · Issue #12873 ...
If we see thumbnails in the tab tray, we should be able to load the preview for the gesture, but that is clearly...
Read more >Tab Grid Layout stopped working - Google Chrome Community
I like the new tab grid design in Android Chrome. It used to work, I set the flag to Enable without auto group,...
Read more >Chrome gets swipe gestures to navigate back or forward
Another day, another Chrome flag. The browser is starting to let users swipe to go back to the previous page they had open,...
Read more >Organize your tabs with Tab Groups in Safari on iPhone
Tap the Tabs button to view the open tabs in that Tab Group. · Touch and hold the tab you want to pin....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
<Router> <Tabs key="root" tabs={true} legacy={true} swipeEnabled={true} tabBarPosition={'bottom'}> <Scene hideNavBar key="login" component={Login} title="Login"/> <Scene hideNavBar key="register" component={Register} title="Register"/> <Scene hideNavBar key="home" component={Home}/> </Tabs> </Router>
legacy={true} this works for me
@SourceCipher Could you create new issue for this problem? It seems hard to fix,
onNavigationStateChange
is called AFTER react components are mounted.