Bug 255414

Summary: all browser except mobile safari cancel select menus from opening using preventDefault
Product: WebKit Reporter: Aaron Reisman <aaron.reisman>
Component: UI EventsAssignee: 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

Description Aaron Reisman 2023-04-13 13:26:29 PDT
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
Comment 1 Radar WebKit Bug Importer 2023-04-20 13:27:31 PDT
<rdar://problem/108334891>