Re:Floatplane – Linus Tech Tips launches their own video hos...
by icebraining on Monday December 16, 2019 @11:46AM
(#21804412)
When? Can you give an example or two? I was wondering about just that.
[ Parent
| on HN ]
Re:Floatplane – Linus Tech Tips launches their own video hos...
by Someone1234 on Monday December 16, 2019 @12:05PM
(#21804619)
Anything with Drag & Drop functionality. When users press inside the draggable to try and move it, sometimes text will select instead and need to be cleared before dragging (particularly annoying on mobile devices).
Also video controls that use the UNICODE characters for e.g. play/pause/stop/etc instead of graphic icons (so it scales better at higher DPI). You don't want people to be able to select the text inside the button when pushing the button.
There's actually tons of great usage of user-select: none. This is definitely not one of them though.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by tiborsaas on Monday December 16, 2019 @11:53AM
(#21804488)
It's often a bad idea, but here's some when I used it:
- Widget labels (time, short text, etc)
- Buttons, when text is just an arrow >
(I know, just use <button>) :)
- When double click makes accidental text selection on UI. I had this for a whole page overlay displaying a song's artist and title. (there's another link to the source with selectable text)- Navigation, but that might be bad too
Re:Floatplane – Linus Tech Tips launches their own video hos...
by protonfish on Monday December 16, 2019 @11:51AM
(#21804458)
I've used it on elements with text where click-and-drag and double-click are supposed to be used for a different purpose than text selection.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by phendrenad2 on Monday December 16, 2019 @11:50AM
(#21804453)
Navigational elements, such as a list of clickable links. Gets really annoying when the user is trying to select text, their finger slips and suddenly half the menus on the page are highlighted, and now you need to take into account non-euclidean geometry to get them unhighlighted.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by m1el on Monday December 16, 2019 @11:49AM
(#21804439)
An example where this might be appropriate: using font icons. Selecting an unusable unicode character is not what most users want.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by hombre_fatal on Monday December 16, 2019 @02:22PM
(#21806140)
I disabled the selection of various components in apps along the years when I simply find myself accidentally selecting things in regular use that break things or creat selection states that are hard to exit. Most recently it was in a modal-heavy media gallery SPA. If you click and drag outside of a modal when you mean to click, it highlights a grid of media elements that’s hard to exit and really makes for a wonky experience. Like all UX work, you don’t notice it when it’s done well.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by Zekio on Monday December 16, 2019 @11:52AM
(#21804467)
Custom buttons that doesn't use the button tag but is made up of a div which has multiple elements like an avatar & a username, icon for a dropdown
Re:Floatplane – Linus Tech Tips launches their own video hos...
by buzzerbetrayed on Monday December 16, 2019 @12:03PM
(#21804584)
> Custom buttons that doesn't use the button tag
Which should also be avoided
Re:Floatplane – Linus Tech Tips launches their own video hos...
by choward on Monday December 16, 2019 @01:02PM
(#21805275)
Drag and drop. It's annoying when you go to drag something and end up selecting text instead.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by sli on Monday December 16, 2019 @11:49AM
(#21804445)
I use it for some drag and drop stuff where selecting text would get in the way and would be largely unnecessary (e.g. reordering table columns by dragging a header cell), but that's about it.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by breakintheweb on Monday December 16, 2019 @01:07PM
(#21805338)
Imagine a list of objects with descriptions or names and these objects need to be drag/dropped. It would make since to disable highlight the object names by mistake.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by ins0 on Monday December 16, 2019 @11:54AM
(#21804493)
In our application we disallow generated command lines for selection and provide a safe "copy command" icon. As my u see a visual correct command (for a browser view) the resulting select + copy don't include f.e. whitespaces.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by calpaterson on Monday December 16, 2019 @12:00PM
(#21804558)
I'm afraid that is a near-universally hated design choice
Re:Floatplane – Linus Tech Tips launches their own video hos...
by ins0 on Monday December 16, 2019 @12:08PM
(#21804648)
It's an command builder where you can drag and drop arguments too - overall user selection don't make sense for this purpose - at least not in our case.
Re:Floatplane – Linus Tech Tips launches their own video hos...
by NullPrefix on Monday December 16, 2019 @12:01PM
(#21804569)
Copy command button ends up not working, making the user retype the whole command by hand.
Good going.