Open Take-A-Byte opened 1 year ago
Hey @Take-A-Byte - Can you share a sample app with your setup that reproduces this issue? Is the InkCanvas completely covering the WebView2, or only part of it but you can't scroll the other part? Are you able to scroll if focus is moved to the WebView2?
WebViewAnd2InOne.zip Hey @champnic - Here is a sample app. A bit about the app: Initially, it has a WebView rendered while WebView2 is collapsed After you press the button at the bottom, It will render WebView2 and collapse WebView, In both cases i.e. WebView and WebView2, Canvas is rendered on top and completely covers WebViews.
Also, setting a programmatic focus also did not help me to scroll...
Here is a sample video of the app.
Thanks for the info. I've added this as a bug on our backlog. I believe this will have to be investigated/fixed by the WinUI team.
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
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?
AB#43256205