lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.03k stars 666 forks source link

Window caption buttons don't work properly with touch #1126

Open Difegue opened 3 weeks ago

Difegue commented 3 weeks ago

Describe the bug

When using touch to interact with a WPFUI app, tapping the maximize button seems to fire two actions, which maximizes then restores the window to its previous size.

This worked fine in 2.x.

To Reproduce

Open the controls app on a touchscreen-equipped PC and tap the maximize button

Expected behavior

The app should maximize properly

Screenshots

https://github.com/lepoco/wpfui/assets/8237712/80edefee-7812-4c92-8981-38188f24cc1a

OS version

Win11

.NET version

Any version

WPF-UI NuGet version

3.0.3

Additional context

No response