Hacker News new | ask | show | jobs
by _RPM 3850 days ago
-webkit-user-select:none on text is a thing I see done on a lot of web pages lately (past couple years), what is the point?
2 comments

Well, sometimes it is a clean presentation to not be able to select text. You know when you just randomly click and hold the mouse then you end up highlighting half of the interface as well as the text? That is "immersion breaking" for web apps, or whatever the real word is.

In this specific case, it's still broken because the cursor still changes to the selection cursor. Oh well.

they should have done `cursor: default` for the html element selector in the CSS file as well.
Also useful in HTML/CSS/JS-driven desktop UI through Chromium or similar as a way of preventing selection on user interface chassis elements.