Disable selectable button labels
See original GitHub issueAwesome package, I just love it @larsjanssen6! The only thing I don’t like, is the fact that the buttons’ labels can be selected, and it stays selected, even when unintentionally selected. For the record, I’m on a MacBook Pro, using the built-in trackpad. See below.
This annoying thing happens very often, when I’m clicking any of the buttons. Is there any way that you can update the package, so that the buttons’ label elements have attached the CSS declarations below?
-webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
Thanks a lot.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
javascript - disable label click event - Stack Overflow
I am trying to create radio button and labels in one div called Contentarea . the problem I am having right now is...
Read more >Frustrating Design Patterns: Disabled Buttons
Imagine a world in which every button is disabled by default. Usually it's grey, subtle and slightly out of focus, often with poor...
Read more >HTML button disabled Attribute - W3Schools
The disabled attribute is a boolean attribute. When present, it specifies that the button should be disabled. A disabled button is unusable and...
Read more >HTML button disabled Attribute - Dofactory
Thedisabled attribute specifies that the button is disabled. The button appears grayed out and is not usable. Disabled buttons are not included in...
Read more >aria-disabled - Accessibility - MDN Web Docs
Description · Toggle the value to false (or remove the attribute entirely), · Enable the element, and · Let the user know the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@roenfeldt hey, I will add it tomorrow 👍
@roenfeldt That’s awesome! Thanks a lot