Open Marv51 opened 3 years ago
@anawishnoff fyi
We call this "scroll chaining", where any unusable amount of scrolling will chain up to parent containers. This is something we plan to support, but we don't currently have an ETA for this.
"scroll chaining" is a very good way to describe it
Keep alive (re #8638)
Describe the bug Scrolling with the mouse wheel when the pointer is over a WebView2 does not scroll the XAML panel of that WebView2. This worked in WebView(1) in UWP perfectly. Even when the WebView2 does not have scrollbars and the XAML panel (ListView) does have scrollbars, the mousewheel event seems to be triggered inside the WebView2 but never makes it to the XAML-Container.
(Setup for this is the same as my other WebView2 bug #4595)
Expected behavior If the Webview2 content is entirely shown on screen without scrollbars, the panel/container should scroll.
Screenshots This mostly shows the rendering issues I'm having (#4595), but maybe it helps?
https://user-images.githubusercontent.com/471338/111863665-422ad800-895d-11eb-8bb6-55e9e5cd2e36.mp4
Each frame is a ListView Item, title "Update *" is XAML TextBlock. Below which is a WebView2.
Version Info I'm on Project Reunion 0.5 Preview WinUI 3 Desktop. Windows 10 20H2 19042
Additional Context I guess I could work around this by creating the layout entirely in HTML and using only one WebView2, however this is a port from UWP and this worked perfectly before.