MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: Pinch zoom behavior not consistent between touchpad and touchscreen for WebView2 in UWP
@Badhri is already working on this.
Since Mar 27, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
In the Edge browser, using the pinch-zoom action on the touchpad or directly on the touchscreen changes the page scale factor - so it is consistent behavior.
In UWP WebView2 application, using the pinch-zoom action on the touchpad changes the page layout like using CTRL+ or -, while the pinch zoom action on the touchscreen changes the page scale factor.
Request: It would be nice to have the same behavior as Edge and change the page scale factor even when using pinch zoom on the touchpad for webview2.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
WinUI2/UWP
Operating System
Windows 11
OS Version
No response
Repro steps
- Open a webpage https://bing.com in WebView2 control
- Try pinch zoom on the touchscreen
- Try pinch zoom on the trackpad
Note that the two behaviors are different.
Now try the same actions in the edge browser and note that the two behaviors are exactly the same.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.