Maui
Maui copied to clipboard
[BUG] The popup is not centered horizontally in the app window on Mac OS
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
The maui toolkit popup is not centered horizontally in the app window on Mac OS.
Expected Behavior
The popup should be centered horizontally in the app window by default.
Steps To Reproduce
- Create .NET 7 net maui project from Visual Studio 2022 template
- Add nuget package CommunityToolkit.Maui version 3.1.0
- Create "SomePopup"
- Update SomePopup.xaml and Somepopup.xaml.cs to toolkit Popup
- Show popup on button click
Link to public reproduction project repository
https://github.com/dekipet/MAUIPopupBug
Environment
- NET MAUI CommunityToolkit: 3.1.0
- OS: Mac OS Ventura 13.0.1
- NET: 7.0
Anything else?
On Windows 10 it is working as expected, popup is centered by default.