Bug 219188 - PointerDown not fired after PointerUp on disabled form element
Summary: PointerDown not fired after PointerUp on disabled form element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 14
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on: 251246
  Show dependency treegraph
Reported: 2020-11-19 17:40 PST by Rob Snow
Modified: 2023-01-26 21:04 PST (History)
8 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Rob Snow 2020-11-19 17:40:30 PST
See codesandbox https://codesandbox.io/s/eloquent-herschel-pgwci?file=/index.html
1) open developer console
2) click 'foo'
3) click 'bar'

onPointerDown on foo
onPointerDown on bar
onPointerUp on bar

onPointerDown on foo
onPointerUp on bar

Works in Chrome and Firefox

Other relevant info:
Comment 1 Radar WebKit Bug Importer 2020-11-26 17:41:15 PST
Comment 2 Ahmad Saleem 2022-09-03 15:21:17 PDT
All browsers differ from each other on Code Sandbox:

*** Safari 15.6.1 ***

pointerdown foo 
pointerup bar 

*** Firefox Nightly 106 ***

pointerdown foo 
pointerdown bar 
pointerup bar 

*** Chrome Canary 107 ***

pointerdown foo 
pointerup foo 
pointerdown bar 
pointerup bar 


I am not sure on the exact behavior aligned with web-spec but I hope someone else would be able to comment. Just sharing updated testing results. Thanks!