You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because Fluent theme shrinks the Button while pressed and Button requires the pointer to be within its bounds upon release for a click event to occur.
The easiest way is to replace the shrinking behavior below via styling:
However I would consider this as an unexpected behaviour. In my opinion the click logic of a button should work on the original size of the button when the mouse is pressed down. Because otherwise the UI do feel unresposive when you hit the button at the wrong place.
Describe the bug
When a button has a big horizontal extend it has a relatively large area on the left and on the right where a click does not get accepted.
On mouse down the button shrinks and it seems to only accept clicks on mouse release on the shrinked button size.
Window.2024-07-01.09-39-54.mp4
To Reproduce
Should be reproducable with any large button but may depend on the theme and the styling.
Expected behavior
A button is accept clicks on its entire size
Avalonia version
11.1.0
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: