kikipoulet / SukiUI

UI Theme for AvaloniaUI
MIT License
1.52k stars 140 forks source link

[Bug] UI components unintended refresh behavior #290

Closed 13584452567 closed 2 months ago

13584452567 commented 2 months ago

Check the following items

Description of the issue

https://github.com/user-attachments/assets/91c6fbd6-3b37-46d3-a653-1fdc3fc28292

ToggleSwitch refresh unexpectedly

Package Version

6.0.0-beta8

Environment

Windows 11 26100.1742

Expected Behavior

just appear,without refresh

Reproduction

just click this UI component

Additional Information

No response

kikipoulet commented 2 months ago

It is this part in the ToggleSwitch style file :

{D73E3904-0D2F-4113-9E3A-97C623B3327D}

the checked and unchecked part. I've already looked a little, I tried different Fillmode, but it just seems that its existence trigger that which is super annoying.

13584452567 commented 2 months ago

is it an avalonia's ploblem?

kikipoulet commented 2 months ago

is it an avalonia's ploblem?

I don't know, maybe there's something I missed. I'm going to take another look soon

kikipoulet commented 2 months ago

Modified animations to transitions, it's a little less sweet now but the issue is fixed