Describe the bug
On the initial SSR render, the blue underline indicator is inside the button element of the tab. After hydration, the element is placed after all the tab <button>s. The causes the position to move.
To Reproduce
Steps to reproduce the behavior:
- Go to https://cryoetdataportal.czscience.com/browse-data/datasets (Remix)
- Notice the flicker of the selection indicator.
- This is also reproducible in Next.js
Expected behavior
No flicker