Bug 255414 - all browser except mobile safari cancel select menus from opening using preventDefault
Summary: all browser except mobile safari cancel select menus from opening using preve...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL: https://codepen.io/lifeiscontent/pen/...
Keywords: BrowserCompat, HTML5, InRadar
Depends on:
Blocks:
 
Reported: 2023-04-13 13:26 PDT by Aaron Reisman
Modified: 2023-04-20 13:27 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>