4 ms·
I would also blame Firefox (or underlying Safari) for this. The browser shouldn't cede control to the page, even things like modifying the right-click menu are
by Y_Y 2y ago
I would also blame Firefox (or underlying Safari) for this. The browser shouldn't cede control to the page, even things like modifying the right-click menu are iffy and should be easy to override.
- marcosdumay 2y agoIt's incredibly hard to decide what is a reasonable event to handle and what is "ceding control to the page". Even more because for most of those events, handling just a handful of them is perfectly fine and will improve your experience in a web app. Sometimes even conditionally handling them all is still perfectly fine.
- Y_Y 2y agoMaybe I don't want my experience "improved". I have never been glad my scrollbar was hijacked, or that the behaviors of the "back" button was changed.
- marcosdumay 2y ago> I have never been glad my scrollbar was hijacked Well, maybe not you, but almost everybody praises scroll to zoom in map applications.
- Y_Y 2y ago> almost everybody praises scroll to zoom in map applications In what sense is that true?
- the8472 2y agoOn desktop shift+rightclick overrides context menu event handlers.
- ge96 2y agoTangent: In win10 when you right-click the menu is massive, it's the full height of the window not sure if that was a bug Edit: menu as in "open link in new tab"