News for hackers. Stuff that matters.
Re:Show HN: Make your site’s pages faster than instant in on... by reaperducer on Saturday May 16, 2020 @11:50AM (#23204388)
Buttons are typically triggered on mouse-up events, not mouse-down, and there's probably good reasons for that.

So you can drag the link somewhere else. Like to the desktop or a text editor or a terminal window.

Re:Show HN: Make your site’s pages faster than instant in on... by hlandau on Saturday May 16, 2020 @11:54AM (#23204438)
Yep. This convention also enables the cancellation of a click, which can be useful if you realise your error mid-click.

Another piece of software egregious for violating this UI convention is Adobe Reader. I remember upgrading to, IIRC v9? and finding that all buttons in it had been changed to actuate on mouse-down, and wondering what the christ the developers were thinking. Perhaps they thought it made their software seem more "responsive".