MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Mouse events not captured by WebView2 if Canvas present on top of it
Open
@champnic is already working on this.
Since Feb 4, 2023.
bug
tracked
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
WebView2 behavior differs from WebView behavior when InkCanvas is placed on top of it
Version
SDK:1.0.1518.46
Framework: UWP
OS: Win11
Repro Steps
- Create a UWP app
- Add a Grid
- Add WebView2 control with source a long website (e.g. - https://learn.microsoft.com/en-in/)
- Add InkCanvas control below WebView2 (in view-tree, it will be rendered over WebView2)
- Run app and try to scroll
Expected behavior - Page scrolls
Actual behavior - Page does not scroll
Additional Context
Same app, if used with WebView allows mouse interaction even when InkCanvas is placed above WebView
Is there an alternative using which we could use InkCanvas over WebView2 until the bug is fixed?
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.