HandyControl
HandyControl copied to clipboard
There's no closing animation in Window
Describe the bug
Hi. I have this, example window:
<hc:Window x:Class="SkEditorPlus.OptionsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:SkEditorPlus"
mc:Ignorable="d"
Title="Ustawienia" Height="450" Width="800" ResizeMode="NoResize" Loaded="OnWindowLoad" WindowStartupLocation="CenterScreen">
<Grid>
</Grid>
</hc:Window>
And, it closes immediately, without animation. (Open animation works fine)
Steps to reproduce the bug
- Create new window
- Try opening and closing it
Expected behavior
No response
Screenshots
No response
NuGet package version
HandyControls (Custom version) 3.3.11
IDE
Visual Studio 2022
Framework type
.Net 5.0
Windows version
Windows 11 (22000)
Additional context
No response
Oh, sorry. It's only in the Debug.
Oh, it's not. When main window is maximized, the dialog window has no closing animation. When main window is minimized, the dialog windows has closing animation.
Hey, what about this? As I test now, when main window is minimized, others windows (dialogs) have closing animation. When it's maximized, they don't.