dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.21k stars 1.74k forks source link

[regression/7.0.0] Dialog not aligned vertically center in .NET 7 #17341

Open ArunKumarRavi13 opened 1 year ago

ArunKumarRavi13 commented 1 year ago

Description

When Keypad arrives the dialog is not aligned vertically centered in .NET 7 and checked the same scenario in .NET 6. But Dialog is aligned vertically centered in .NET 6.

Sample PasswordDialog.zip

Screenshot

.NET 6: Screenshot_2023-09-13-14-13-02-713_com companyname passworddialog

.NET 7: Screenshot_2023-09-13-13-01-31-399_com companyname passworddialog

Steps to Reproduce

  1. Run the attached sample.
  2. Now you can see the output.

Link to public reproduction project repository

https://github.com/ArunKumarRavi13/KeypadHideDialog

Version with bug

7.0.92

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

6.0

Affected platforms

iOS, Android, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

XamlTest commented 1 year ago

Verified this on Visual Studio Enterprise 17.8.0 Preview 1.0. Repro on Android 13.0-API33 and iOS 16.4(8.0.0-preview.7.8842) with below Project: PasswordDialog.zip