-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[BUG] - On focus, outline is not visible. #5266
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
Comments
@state303 Seems can't reproduced in beta docs https://beta.heroui.com/docs/components/button |
I am seeing this issue as well on my HeroUI Buttons where focus rings don't appear when navigating with tab key. As far as I can figure out, the outline style of solid isn't being applied correctly. When I focus a button, the versions: |
I don't know if this is relevant, but that Original setting of --tw-outline-style:
|
I'm curious if this issue is relevant: tailwindlabs/tailwindcss#16772 |
I did the same as an escape hatch! However, I was curious about what would be the root cause.. |
@winchesHe Hi, I think the issue is that the templates and examples are not made with tailwind v4. Everything just works fine, except the focus outline. |
Uh oh!
There was an error while loading. Please reload this page.
HeroUI Version
2.8.0-beta.4
Describe the bug
As you will observe from the screenshot, the selectors are there. However, the actual styles are not being properly projected on the actual style.
Example
Imagine that the following className
Translates to a selector with no effective CSS payload (i.e. outline-2)
The real issue
It seems the other styles are mostly working as expected, which is strange because the same selector pattern works for the hover.
Your Example Website or App
Tried stackblitz and others, but none is accepting tw4 with vite setup like this, so decided to simply post.....
Steps to Reproduce the Bug or Issue
It is relatively fast to reproduce.
Expected behavior
Outlines must be visible (or more precisely, the tailwind utility class projection must be corrected.)
Screenshots or Videos
Operating System Version
Windows 11
Browser
Chrome
The text was updated successfully, but these errors were encountered: