this post was submitted on 12 Oct 2024
60 points (98.4% liked)

Asklemmy

43890 readers
1198 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] my_hat_stinks@programming.dev 14 points 1 month ago (1 children)

If you're pressing a button and want to cancel you can pretty much universally just move off the button before releasing the press and it won't trigger the action. Works 99% of the time with a mouse, almost as often with a touch interface. Some custom-coded buttons will action on start press (not great imo) and some buttons do some other action on a long press, but if you're holding it and nothing else has happened just dragging off is safe enough.

[โ€“] BCsven@lemmy.ca 7 points 1 month ago

onmouseup vs onmousedown on click settings. Early days of computers/programs were less forgiving when you clicked it started the action