Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Label highlight #4

Closed
stef-k opened this issue Sep 1, 2017 · 2 comments
Closed

Label highlight #4

stef-k opened this issue Sep 1, 2017 · 2 comments

Comments

@stef-k
Copy link

stef-k commented Sep 1, 2017

I do not know if this is intentional but when clicking the element rapidly, the text in the label gets highlighted.

image

If it is not intentional behavior then it can be fixed with the following

.is-checkbox[type=checkbox]+label, .is-radio[type=radio]+label {
  user-select: none;
}

Browser support for this rule is at 88.69%

@Wikiki
Copy link
Owner

Wikiki commented Sep 1, 2017

Hi @stef-k,

I thought about adding user-select but I prefer to let the user able to select the text associated to a checkbox or radio.
I agree the double click is a little bit too sensitive.

Regards,

@stef-k
Copy link
Author

stef-k commented Sep 1, 2017

Ah, ok then,
thanks by the way for all these extensions, they are the missing piece from the framework.

@Wikiki Wikiki closed this as completed Sep 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants