-
Notifications
You must be signed in to change notification settings - Fork 176
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
Container Lazy and Tabs.Lazy bug #275
Comments
PRs are more than welcome! Shouldn't be hard to fix. |
I have looked at it, but I have not found any simple changes that would effectively fix this bug. Could you please take a look at it? |
I too am having this issue. when changing between user profiles that have different tabs, it does not know which one to use behind the scenes |
Running into a similar issue -- haven't found a solution yet but will keep looking |
#394 should fix this, I released it as |
@andreialecu Will give this a try! Cheers 👍 |
@andreialecu From what I've tested so far, the issue seems to have been fixed 🤞 I had a workaround where I was using tab names as a key for |
Hi, I have found bug with repositioning of Tabs with lazy loading. Loading is using index of lazy component which doesn't change position. So It loads Tabs based on their original position.
E.g. original Tabs: Tab0, Tab1, Tab2
If you change position of tabs to: Tab0, Tab2, Tab1
Then on click Tab2 you will load Tab1, but Tab2 will stay unloaded. It will be loaded only if 1) it was loaded before changing tab position or 2) if you click on Tab1 as it has index of Tab2 original position.
In Expo examples this should be in example: 15. Adding and removing tabs dynamically
Where you can add Tabs and shuffle them, but right now example is not working (you cannot Add new tab).
Here is example build locally without images:
I haven't found a way how to get around this. Please consider fixing this issue as it disable the option of lazy loading if you have sorting or ordering of tabs.
The text was updated successfully, but these errors were encountered: