-
Notifications
You must be signed in to change notification settings - Fork 464
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
Currently setting option to opt out of new dialog fragment with android does not work in debug or release mode. I am unable to navigate between pages in sample app on Android. Setting options does not work.
Expected Behavior
options.SetShouldUseStatusBarBehaviorOnAndroidModalPage(false); should work and currently does nothing.
Steps To Reproduce
- Open sample app.
- set
options.SetShouldUseStatusBarBehaviorOnAndroidModalPage(false);in builder - Run sample app and navigate to any page on maui.
- The option does not work and app crashes to android desktop.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
- .NET MAUI CommunityToolkit:11.0 - Currrent main not release version
- OS:Android any version
- .NET MAUI:9.0.30Anything else?
I will have a PR out this morning with a workaround for the issue that will fix the order of options that has been verified to at least fix the options. As for dialog fragment issue I have no idea. The PR I have in mind will have options working and opting out mitigates the current crash.