Bug 210050

Summary: Cannot detect middle click with bluetooth mouse on iPadOS 13.4
Product: WebKit Reporter: Ashley Gullen <ashley>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: graouts, ogay, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: iPhone / iPad   
OS: iOS 13   

Ashley Gullen
Reported 2020-04-06 09:09:02 PDT
Middle clicks with a bluetooth mouse on iPadOS 13.4 register as a left click instead of a middle click. The 'button' property of both mousedown and pointerdown events is 0 (for left button), when it should be 1 (for middle button). Demo: https://downloads.scirra.com/labs/ipadosmouse/ It works correctly with the same bluetooth mouse on macOS, so it is not the mouse. I used a Microsoft Bluetooth Mouse (RJN-00002). This breaks any middle mouse button feature in web apps on iPadOS, like dragging the middle mouse button for pan scrolling.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-04-07 11:42:20 PDT
Tim Horton
Comment 2 2020-04-07 13:08:38 PDT
Hmm, indeed, good point! Right now we only have primary and secondary buttons.
Note You need to log in before you can comment on or make changes to this bug.