-
Notifications
You must be signed in to change notification settings - Fork 45
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
It seems the page will be recreated when switch between tabs each time. #7
Comments
Hello, @Horse888! Yeah, I know about this issue and unfortunately have no idea how to fix that currently. Apple's I've added to this issue
help wanted
|
What if you will create lazy instances of each TabView than just. reuse them |
Hello, @davoxdavo! Sorry for late response, could you please clarify your idea, because I think I do not understand your suggestion well |
I've seen it done by changing the opacity to 1.0 or 0 based on the selected view rather than reloading it. I'm not sure how that affects performance |
Opacity won't work unless you want to do a fade in fade out effect. Basically hiding it with hidden modifier, disable the view, and disabling accessibility to the view that way it user cannot interact with while its hidden. |
I think this approach UIKitTabView would be what you guys are looking for. |
I did some tests and it seems to be fine |
You will find the difference between TabView.
The text was updated successfully, but these errors were encountered: