Hey. I have created a custom tabbar with animation and it works fine, but the only problem is that on first render it just waits 250 ms and shows the indicator, but it should start from 0 and go to 100% in this time. When i click another Label it does the same thing, but when i click the initial tab again it animates fine, so like everytime the label renders the first time it doesnt animate correctly.
Hey. I have created a custom tabbar with animation and it works fine, but the only problem is that on first render it just waits 250 ms and shows the indicator, but it should start from 0 and go to 100% in this time. When i click another Label it does the same thing, but when i click the initial tab again it animates fine, so like everytime the label renders the first time it doesnt animate correctly.
https://streamable.com/430snv
TabBarLabels.js:
Label.js: