WarshaKirin
New member
- Joined
- Feb 7, 2024
- Messages
- 1
- Programming Experience
- 3-5
I have the following layout in my MainPage.Xaml
<RefreshView x:Name="refreshView"
IsRefreshing="{Binding IsRefreshing}"
Refreshing="refreshView_Refreshing"
AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All">
<WebView Source=".NET MAUI" />
<RefreshView>
And when I scroll down, stop, and then try to scroll up, it tries to refresh instead of scrolling up.
Here it says I need to put a scrollView inside the RefreshView for it to work -> .NET MAUI - RefreshView - Code Samples
But the problem is, having a webview inside a scrollview has it's own bugs -> webview height grows indefinitely inside a nestedScrollView.
So how can I properly implement this "pull-to-refresh" for scrollable webviews?
<RefreshView x:Name="refreshView"
IsRefreshing="{Binding IsRefreshing}"
Refreshing="refreshView_Refreshing"
AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All">
<WebView Source=".NET MAUI" />
<RefreshView>
And when I scroll down, stop, and then try to scroll up, it tries to refresh instead of scrolling up.
Here it says I need to put a scrollView inside the RefreshView for it to work -> .NET MAUI - RefreshView - Code Samples
But the problem is, having a webview inside a scrollview has it's own bugs -> webview height grows indefinitely inside a nestedScrollView.
So how can I properly implement this "pull-to-refresh" for scrollable webviews?