Bug 255414
Summary: | all browser except mobile safari cancel select menus from opening using preventDefault | ||
---|---|---|---|
Product: | WebKit | Reporter: | Aaron Reisman <aaron.reisman> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | akeerthi, a_protyasha, webkit-bug-importer |
Priority: | P2 | Keywords: | BrowserCompat, HTML5, InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 16 | ||
URL: | https://codepen.io/lifeiscontent/pen/qBJbKBL |
Aaron Reisman
when adding preventDefault() to a mousedown handler it cancels the select menu from opening, this is ideal for creating custom select inputs that use a native select to drive the state of the UI
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/108334891>