Bug 210050 - Cannot detect middle click with bluetooth mouse on iPadOS 13.4
Summary: Cannot detect middle click with bluetooth mouse on iPadOS 13.4
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 13
Hardware: iPhone / iPad iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-06 09:09 PDT by Ashley Gullen
Modified: 2020-04-25 21:04 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashley Gullen 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.
Comment 1 Radar WebKit Bug Importer 2020-04-07 11:42:20 PDT
<rdar://problem/61402823>
Comment 2 Tim Horton 2020-04-07 13:08:38 PDT
Hmm, indeed, good point! Right now we only have primary and secondary buttons.