Closed alexpchin closed 3 years ago
4.0.1
didn't really change anything that could break this 🤔
Based on your video it seems that the indicator renders correctly, it's just the highlight that is wrong. That could also be a bug in the custom tab bar though.
Would need a repro in order to investigate.
Sorry, @andreialecu I wasn't clear when I said that. I just noticed it since installing 4.0.1
. It could have been present before. I will take a deeper dive to see if I can find the cause of the problem.
I think #186 should help with this.
4.2.1 should have some pretty huge performance improvements, which I think should resolve this.
Closing, feel free to ping me to reopen if this is still an issue.
Current behavior
Since 4.0.1, I now see that if you use
lazy
with a customTabBarComponent
if you click the tab quickly after the page loads, the wrong TabBarIcon is selected.If I don't use a custom TabBarComponent then I can't replicate it.
Video with custom
TabComponent
:simulator3.mov.zip
The same setup without
TabComponent
:simulator4.mov.zip
(Just FYI - My
TabBarItem
Component is almost exactly the same as the one in the library, except I render an Icon and a notification badge).