question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable selectable button labels

See original GitHub issue

Awesome 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. Screen Shot 2020-03-18 at 22 24 52 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:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
larsjanssen6commented, Apr 1, 2020

@roenfeldt hey, I will add it tomorrow 👍

0reactions
larsjanssen6commented, Apr 14, 2020

@roenfeldt That’s awesome! Thanks a lot

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found