Open SiMet opened 1 month ago
Best workaround is to add [IsVisible=True] in every animation related style selector.
Even though the scenario is different, look at the comment https://github.com/AvaloniaUI/Avalonia/pull/5919#issuecomment-841646221 to understand why.
Looks like this is one of the causes of https://github.com/AvaloniaUI/Avalonia/issues/17129
Describe the bug
Frames are rendered when animation is running and element is not visible.
I'm observe using DevTools and Overlay->FPS that frames are rendered even element is not visible. When checking this sample with SVG Frames are rendered after first display of svg. If we use for example border it's rendered from the beining of app start.
To Reproduce
MainView.axaml
MainViewModel.cs
Expected behavior
Frames are not rendered when nothing changed
Avalonia version
11.3.1
OS
Windows 10
Additional context
No response