adrielcafe / voyager

🛸 A pragmatic navigation library for Jetpack Compose
https://voyager.adriel.cafe
MIT License
2.61k stars 141 forks source link

Tab transitions #102

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello. It would be great if we could add transitions to TabNavigator content in the same manner as we do for normal screens:

TabNavigator(initialMainTab.tab) { tabNavigator ->
    Scaffold(
        content = {
            Box(Modifier.padding(it)) {
                // Instead of CurrentTab(), use
                FadeTabTransition(tabNavigator)
            }
        },
        bottomBar = {
            // BottomNavigation(...)
        }
    )
}

Would that be possible to implement?

mslalith commented 1 year ago

anything planned on this?

springeye commented 8 months ago

+1

projectdelta6 commented 1 month ago

+1, I have a client wanting slide transitions between tabs

rogribas commented 3 weeks ago

+1