Description
openedon Mar 20, 2021
Describe the bug
I have a list of posts, that I want to display in a ListView each post in it's separate WebView2. The WebView2 is sized so that the content never has scrollbars. The content consists of very simple html-styled paragraphs. This worked in WebView(1) in UWP perfectly.
In WebView2 the content is not scrolling property: it glitches, stays inplace and then suddenly scrolls into place when the end of the list is reached. (See video below)
Expected behavior
The content should display and scroll as one would expect, with the surrounding content.
Screenshots
webview2.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
Windows app type:
UWP | Win32 |
---|---|
Yes |
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
October 2020 Update (19042) | Yes |
May 2020 Update (19041) | |
November 2019 Update (18363) | |
May 2019 Update (18362) | |
October 2018 Update (17763) | |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Xbox | |
Surface Hub | |
IoT |
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.