Skip to content

Cannot disable radio outlines #32

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

Closed
jaredgalanis opened this issue Dec 30, 2020 · 4 comments
Closed

Cannot disable radio outlines #32

jaredgalanis opened this issue Dec 30, 2020 · 4 comments

Comments

@jaredgalanis
Copy link

When using this package it seems to cause any classes like focus:outline-none or project wide configuration for outlines such as:

  corePlugins: {
    outline: false,
  }

to be ignored.

@adamwathan
Copy link
Member

Outlines are already disabled for all form elements using this package. The outline you see come from the "ring" utilities. You can use "focus:ring-0" to remove it for example.

@adamwathan
Copy link
Member

If I'm misunderstanding please provide an actual reproduction that shows the problem and I can look into it.

@jaredgalanis
Copy link
Author

Thanks, @adamwathan! That definitely got rid of the exterior ring.

Not necessarily the same thing, but do you have any sense of what this interior outline is and how to remove it?

Screen Shot 2020-12-30 at 7 04 46 AM

<input type="radio" class="h-8 w-8 cursor-pointer text-red-500 focus:ring-0">

@jaredgalanis
Copy link
Author

Thanks, @adamwathan! That definitely got rid of the exterior ring.

Not necessarily the same thing, but do you have any sense of what this interior outline is and how to remove it?

Screen Shot 2020-12-30 at 7 04 46 AM

<input type="radio" class="h-8 w-8 cursor-pointer text-red-500 focus:ring-0">

Looks like maybe it is coming from the way outline-none is handled. If I apply a custom css selector with outline: none; that inner blue outline goes away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants