Bug 296923

Summary: [iOS] Pointer lock should be gated behind mouse availability
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: PlatformAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, possum.bracing0v, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=296956

Abrar Rahman Protyasha
Reported 2025-08-05 02:05:34 PDT
Attachments
Abrar Rahman Protyasha
Comment 1 2025-08-05 02:27:52 PDT
Jeffrey Blanz
Comment 2 2025-08-05 09:39:15 PDT
Shouldn’t this also apply to visionOS? Also unrelated, but will pointer lock work on iPhones? iPhones support mouse input if the user enables “AssistiveTouch”, but I am unsure if Safari on iPhones recognizes the mouse as touch input or mouse input. Obviously with iPads this is not an issue as mouses are supported outside of accessibility.
EWS
Comment 3 2025-08-05 11:53:09 PDT
Committed 298248@main (53f4089bebab): <https://commits.webkit.org/298248@main> Reviewed commits have been landed. Closing PR #48946 and removing active labels.
Abrar Rahman Protyasha
Comment 4 2025-08-05 12:09:50 PDT
(In reply to Jeffrey Blanz from comment #2) > Shouldn’t this also apply to visionOS? This should apply to visionOS, yes. [iOS] is a misnomer here and applies to the other embedded platforms too, including visionOS. > Also unrelated, but will pointer lock work on iPhones? iPhones support mouse > input if the user enables “AssistiveTouch”, but I am unsure if Safari on > iPhones recognizes the mouse as touch input or mouse input. > Obviously with iPads this is not an issue as mouses are supported outside of > accessibility. That's a good point, with AssistiveTouch enabled, the mouse interactions are provided to WebKit as touch inputs, so no, it will not work.
Note You need to log in before you can comment on or make changes to this bug.