Replies: 1 comment
-
With the closure of Issue #1238, this Discussion will also be closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made an app that displays a Popup in the center of the screen when a button is pressed.
If you rotate the device while the Popup is displayed, the Popup will be displayed in the center
of the screen on Android, but the Popup will not be displayed in the center of the screen on iOS.
Below is the popup screen layout.
Below is the screen layout of the caller.
The following is the processing when the button is pressed.
Below is the execution result.
[Android 11]
Before rotation
After rotation
[iOS 16.4]
Before rotation
After rotation
Below is the environment.
.NET MAUI CommunityToolkit:5.2.0
OS:iOS 16.4, Android 11.0
.NET MAUI:7.0.86
Below is the code to reproduce the problem.
https://github.com/cat0363/MauiComm-IssuePopup3.git
It seems that iOS does not update the screen size while displaying the popup.
However, the screen size of the caller seems to be correct, so the size of the
popup may not have been updated.
Is this a problem on the .NET MAUI side? Is it a problem on the Community Toolkit side?
Is there any good solution? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions