Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/CommunityToolkit.Maui/Views/Popup/PopupPage.shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public PopupPage(Popup popup, IPopupOptions? popupOptions)
this.SetBinding(BackgroundColorProperty, static (IPopupOptions options) => options.PageOverlayColor, source: popupOptions, mode: BindingMode.OneWay);

Shell.SetPresentationMode(this, PresentationMode.ModalNotAnimated);
Shell.SetNavBarIsVisible(this, false);
Copy link

Copilot AI Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a platform-specific approach since the title mentions 'Android popups' but this change affects all platforms. Use On<Android>().SetNavBarIsVisible(this, false) to target only Android, similar to how the iOS-specific code is handled on line 69.

Suggested change
Shell.SetNavBarIsVisible(this, false);
On<Android>().SetNavBarIsVisible(this, false);

Copilot uses AI. Check for mistakes.

Copy link
Collaborator

@TheCodeTraveler TheCodeTraveler Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bijington - do we want to hide the Navigation Bar only on Android, or do we want to hide it on iOS too?

How does this look on iOS now compared to its previous/current implementation?

On<iOS>().SetModalPresentationStyle(UIModalPresentationStyle.OverFullScreen);
}

Expand Down
Loading