react aria input focus border color #5567
-
I want to change the styling on input's focused border with something like:
but I don't even think I'm doing it properly. It seems like I'm just adding a second border on top of the one that already exists? How can I apply css to Input's states correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I do not know the rest of your projects setup unfortunately, so without a codesandbox or stackblitz to demo the issue you're facing, I can only hazard some guesses. You could be dealing with the native focus. It might be that you aren't using focus-visible instead of focused. There could be something else going on. It might be useful to look at our examples https://react-spectrum.adobe.com/react-aria/examples/user-combobox.html or our docs on styling https://react-spectrum.adobe.com/react-aria/styling.html#tailwind-css |
Beta Was this translation helpful? Give feedback.
Probably just the default focus outline from browsers. outline-none suppresses it.