Open ghost opened 6 years ago
+1
+1
please do not post +1 comments, use the Github feature to 👍 the original post instead
did anyone find a workaround?
Likely related to https://github.com/palantir/blueprint/issues/1035
Possibly could use a ResizeObserver now to handle this, not sure if that was available back when this issue was opened
Environment
Steps to reproduce
Actual behavior
For debugging purposes I have added a redirect from
/
to/game
right away to circumvent navigating manually each time I refresh the window. Unfortunately though, the tab indicator bugs out because REASONS.As you can see, the indicator isn't initially aligned with the text above, but when clicking through the tabs it is correct. So basically my instant redirect it most likely causing React to have a hickup. By the way, with
animate
being set tofalse
it works as expected!Expected behavior
Properly aligned initial tab indicator right away.
Possible solution
BLACK MAGIC