The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
Application crashes when clicking on full screen button while a popup of media element is visible.
Expected Behavior
Not sure. What do we want to do when we have created a popup with mediaElement when it is also in the background behind it? Do we want to remove the full screen button so it is not clickable when a popup is present? Not sure how we would do that off the top of my head. We would have to detect a popup becoming active and then hiding the full screen button? Maybe a solution?
It looks like this is a weird edge case where it is possible to crash the app by clicking on a button. Full screen button should not be visible and also disabled while a popup is present. Or rewritten to handle full screen switch if popup is present.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Application crashes when clicking on full screen button while a popup of media element is visible.
Expected Behavior
Not sure. What do we want to do when we have created a popup with mediaElement when it is also in the background behind it? Do we want to remove the full screen button so it is not clickable when a popup is present? Not sure how we would do that off the top of my head. We would have to detect a popup becoming active and then hiding the full screen button? Maybe a solution?
Steps To Reproduce
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
Sample
https://github.com/CommunityToolkit/Maui/assets/4167863/28571d9b-4823-4dd9-b6f5-68081d6f7b63
It looks like this is a weird edge case where it is possible to crash the app by clicking on a button. Full screen button should not be visible and also disabled while a popup is present. Or rewritten to handle full screen switch if popup is present.