Description
I encountered an error creating a MAUI Hybrid application where the RefreshView is incorrectly initialized.
But it looks like this is related also to standard MAUI app.
Steps to Reproduce
-
Clone official sample .NET MAUI:
https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Views/RefreshViewDemo
-
Remove from MainPage.xaml ScrollView and FlexLayout tags which resides inside RefreshView
-
Run app on Windows Machine
RefreshView indicator animation is not moving and the screen is locked.
-
Add inside RefreshView and it returns to normal behavior!
If you add BlazorWebView inside RefreshView -> it is not possible to click anything on page
Remarks:
-
In my app when I use RefreshView with BlazorWebView - the web content cannot be interactive because refresh indicator is present blocking inputs even where IsRefreshing/IsEnabled are set to false!
-
Another error -> If you leave inside RefreshView empty ScrollView from example - application crashes with Unhandled exception "Adaptee's content property cannot be null."
-
I tested it on .NET 7 and .NET8 with the same result. All scenarios work on Android.
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.17763.0 and higher
Did you find any workaround?
Only workaround is to add entry inside refresh view. If I add BoxView, Label - does not help.
Relevant log output
No response
Description
I encountered an error creating a MAUI Hybrid application where the RefreshView is incorrectly initialized.
But it looks like this is related also to standard MAUI app.
Steps to Reproduce
Clone official sample .NET MAUI:
https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Views/RefreshViewDemo
Remove from MainPage.xaml ScrollView and FlexLayout tags which resides inside RefreshView
Run app on Windows Machine
RefreshView indicator animation is not moving and the screen is locked.
Add inside RefreshView and it returns to normal behavior!
If you add BlazorWebView inside RefreshView -> it is not possible to click anything on page
Remarks:
In my app when I use RefreshView with BlazorWebView - the web content cannot be interactive because refresh indicator is present blocking inputs even where IsRefreshing/IsEnabled are set to false!
Another error -> If you leave inside RefreshView empty ScrollView from example - application crashes with Unhandled exception "Adaptee's content property cannot be null."
I tested it on .NET 7 and .NET8 with the same result. All scenarios work on Android.
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.17763.0 and higher
Did you find any workaround?
Only workaround is to add entry inside refresh view. If I add BoxView, Label - does not help.
Relevant log output
No response