-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
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
TabView Functionality #56
Comments
Hi, there are still work around - create a custom TabCoordinatable. There are some examples in this other thread where we talked about how to make a custom tabbar #42 Basically the idea is:
|
Ah okay! I'm not 100% sure on this, but I'll see if I can hash something together. Any idea how I'd get the stateful tab package above to work? I'd love to view some sample code or something, if some exists anywhere? Thanks for all your help! 🙂 |
I don't have code example of the StatefulTabView, you could try use the |
Hey,
Firstly - thank you so much for the OS love, it's brilliant.
Secondly - I'm using a TabCoordinatable to power a TabView, but by doing so in SwiftUI you lose some default functionality like popping to the root on active tab tap, and scrolling to top on tab tap. As far as I'm aware there's no SwiftUI workaround, but there's a package that seems to do the trick:
https://github.com/NicholasBellucci/StatefulTabView
Cheers!
The text was updated successfully, but these errors were encountered: