focus-visible not properly working on inputs
Hey. We are currently styling an input element and we try to show the outline when the user navigates by keyboard.
There is the selector :focus-visible for that. Unfortunately it also gets triggered when we navigate by mouse.
Iβve found out, that is a new and intentional behavior for inputs.
Buttons and links work just fine.
Is there a way to only show the outline when navigating by keyboard and not by mouse?
Thanks
There is the selector :focus-visible for that. Unfortunately it also gets triggered when we navigate by mouse.
Iβve found out, that is a new and intentional behavior for inputs.
Buttons and links work just fine.
Is there a way to only show the outline when navigating by keyboard and not by mouse?
Thanks
