Bug 210050
| Summary: | Cannot detect middle click with bluetooth mouse on iPadOS 13.4 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ashley Gullen <ashley> |
| Component: | UI Events | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/61402823>
Tim Horton
Hmm, indeed, good point! Right now we only have primary and secondary buttons.