[PR #10605] fix(desktop): disable magnification gestures on macOS #13501

Closed
opened 2026-02-16 18:18:21 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10605

State: closed
Merged: Yes


Adds macOS support to PinchZoomDisablePlugin.

On macOS, holding Ctrl during scroll momentum causes the webview to zoom uncontrollably.
This sets allowsMagnification = false on the WKWebView to prevent it.

Fixes #10618

Tested on macOS - confirmed the zoom issue no longer occurs.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10605 **State:** closed **Merged:** Yes --- Adds macOS support to `PinchZoomDisablePlugin`. On macOS, holding Ctrl during scroll momentum causes the webview to zoom uncontrollably. This sets `allowsMagnification = false` on the WKWebView to prevent it. Fixes #10618 Tested on macOS - confirmed the zoom issue no longer occurs.
yindo added the pull-request label 2026-02-16 18:18:21 -05:00
yindo closed this issue 2026-02-16 18:18:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13501