DEV Community

Discussion on: πŸ‘‰ 5 CSS useful properties I TOTALLY ignored. πŸ€“

Collapse
 
aurelmegn profile image
Aurel

Same wonder about the disable of the text selection. It can be considered as a serious ux problem imho πŸ€”

Collapse
 
rightdroid profile image
Toomas Jaska

I can give you an example case where this is a must: kiosk systems where the frontend is web tech. Been doing just that for several years, and disabling text-selection, right clicks, making elements click-through are some of the common used practices.

I understand that kiosks are edge cases in general web dev, but also consider Single Page Applications where the UX is more in line with how we use applications rather than how we use webpages (eg left and right clicks act more like in an OS rather than in browser).

Thread Thread
 
aurelmegn profile image
Aurel

Ok, I get it, It all depend on the use case

Collapse
 
bittnkr profile image
bittnkr

Disabling text selection is useful for buttons. It's annoying to select text when trying to click.

Thread Thread
 
helleworld_ profile image
DesirΓ© πŸ‘©β€πŸŽ“πŸ‘©β€πŸ«

Thought exactly the same. I hate double clicking and suddenly the whole page is selected...

Thread Thread
 
aurelmegn profile image
Aurel

Thank you for the clarification

Some comments have been hidden by the post's author - find out more