-
-
Notifications
You must be signed in to change notification settings - Fork 430
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
Tabs automatically indexing on page load #612
Comments
+1 |
Temporary workaround I'm using is to put this hidden button near the top of the page.
Then in the component that holds the flowbite
You may have to play around with increasing 10ms to something like 100ms. Note, this solution sucks for accessibility. I'm using it in a prototype product. The problem with the tab component is it sets focus on the first tab during the initial render |
+1 |
Please help us fix this. Currently if each page uses tabs then when accessing the default url it will select the first tab and automatically jump the scroll bar there. It's exactly like the picture above that @benpatersonx posted. |
focus ring is not the worst thing about this behavior. if you have a card component that has tabs at the bottom of the screen, |
@ex-oleh |
Automatic focus is deleted on Tab[0] themesberg#612
fix errors on tset file for automatic focus on tab[0] themesberg#612
Describe the bug
When you load a page using the tabs component, the first item automatically appears with a focus ring around it or 'indexed' even though it should simply just show as selected. I believe it is an issue with the tab index.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All tabs should appear the same until the user interacts with them, apart from the first which should simply be selected not focused like it is.
Screenshots
System information:
Project information:
The text was updated successfully, but these errors were encountered: