Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] Popup - Size is not respected in Landscape mode on iOS

Open Eltee-Taiwo opened this issue 2 years ago • 3 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

The Size property of a Popup is not respected when using an iOS device in Landscape mode and popups always take up the full size of the screen.

Expected Behavior

The Size property should be respected and popups should be sizeable rather than full screen when using iOS in Landscape mode.

Steps To Reproduce

  1. Open and run solution
  2. Click button to display popup
  3. Notice size is respected.
  4. Close Popup
  5. Switch to landscape mode
  6. Click button to display popup
  7. Popup uses full screen

Link to public reproduction project repository

https://github.com/jfversluis/MauiToolkitPopupSample

Environment

- .NET MAUI CommunityToolkit: 1.3.0
- OS: Windows 10 + Ventura 13 (M1)
- .NET MAUI: 6

Anything else?

image image

Eltee-Taiwo avatar Dec 24 '22 19:12 Eltee-Taiwo

Fixed in https://github.com/CommunityToolkit/Maui/pull/1320

TheCodeTraveler avatar Aug 08 '23 19:08 TheCodeTraveler

@brminnick It isn't fixed. Opened a new bug https://github.com/CommunityToolkit/Maui/issues/1604

VNGames avatar Dec 17 '23 14:12 VNGames

Seems that might not have been fixed yet, let's reopen to have another look

jfversluis avatar Dec 20 '23 19:12 jfversluis

This issue has been fixed. I tested it using the latest version. Please find attached screenshots of the popup maintaining the position when rotate the device. For the reason mentioned previously, I'm closing this issue.

Simulator Screenshot - iPhone 15 - 2024-06-21 at 10 42 12 Simulator Screenshot - iPhone 15 - 2024-06-21 at 10 42 07 Simulator Screenshot - iPhone 15 - 2024-06-21 at 10 41 57 Simulator Screenshot - iPhone 15 - 2024-06-21 at 10 41 48 Simulator Screenshot - iPhone 15 - 2024-06-21 at 10 41 10 Simulator Screenshot - iPhone 15 - 2024-06-21 at 10 41 04

vhugogarcia avatar Jun 21 '24 16:06 vhugogarcia