Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] The popup is not centered horizontally in the app window on Mac OS

Open dekipet opened this issue 3 years ago • 0 comments

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.

Screenshot 2022-12-13 at 7 18 38 PM

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.

dekipet avatar Dec 13 '22 18:12 dekipet