-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinUI3: ContentDialog is missing entrance animation #8476
Comments
Maybe missing style assignment to your ContentDialog. ContentDialog dialog = new ContentDialog(); |
This indeed fixes the issue. |
Seems strange to me that the default style is not applied automatically... |
I haven't tested extensively, but all the basic controls (Button, CheckBox, ComboBox, RadioButton, Slider), collection controls, and navigation controls seem perfectly fine. |
Looks like a dupe of #5573 to me. |
Also, the proposed solution in #5573 does not work. |
This is still an issue in Windows App SDK 1.3.2 (1.3.230602002) |
This is an issue again in Windows App SDK 1.6-experimental-1. |
This is still an issue in Windows App SDK 1.6-preview-1. Just to clarify: the workaround above (#8476 (comment) assign the style) does not help here. In 1.5 it still worked fine. |
This is still an issue in the released Windows App SDK 1.6. 🙂 |
Super strange that the exit animation is still there... |
Also wanted to corroborate that this is a 1.6 regression not present in Windows App SDK 1.5.6. |
This was fixed in Windows App SDK 1.6.1 (1.6.240923002) 🙏 Probably as a side effect of #8402. At least when setting the style like described in #8476 (comment). Without setting the style, there's still no animation, but at least the workaround works again. |
Describe the bug
ContentDialog
doesn't have an entrance animation, but has an exiting animation.This is a possible regression, as the Windows 11 Settings app does feature
ContentDialog
s with entrance animations (see Windows Insider Program tab)Steps to reproduce the bug
ContentDialog
with an appropriate XamlRoot and arbitrary textContentDialog
'sShowAsync
methodContentDialog
instantly appearing with no animation.Expected behavior
The
ContentDialog
is expected to enter with an animation, similar to what is seen in Fluent.Screenshots
ContentDialog.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.3.1: 1.3.230502000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: