Samuel@samuel.fmsending click events to whatever the mouse is over on pointer up, despite me preventDefaulting. works fine on safari/chrome 2 4
Flame Soulis16 Aug 2024Would this explain why click events are passing through containers when using a touchscreen? 1 2
fuckface "squeaky" from:me17 Aug 2024five-year-old unresolved bug1556240 - Investigate if pointercapture target isn't used for click targetingNEW (smaug) in Core - DOM: Events. Last updated 2024-03-14.bugzilla.mozilla.org 3
fuckface "squeaky" from:me17 Aug 2024that sucks but it seems like the proper bodge would be to have a global "isSupposedToBePointerCapturing" that a {capturing:true} click handler on the page can check to preventDefault() and stopPropagation() until Mozilla gets their shit together