TransitioningContentControl causes the control style to be lost during animation
See original GitHub issueEnglish is not my native language; please excuse typing errors.
Describe the bug
TransitioningContentControl
causes the control style to be lost during the PageTransition
animation. For example, Button
would lose its original style and only the text will remain.
I have already read about #9621 and related PR #9802. But looks like Avalonia 0.10.19 didn’t fixes this issue. Is this problem only fixed in 0.11.0 or later? Please let me know if there is a solution in 0.10.x.
To Reproduce Steps to reproduce the behavior:
- Create a project with Avalonia IDE plugin.
- Set a
TransitioningContentControl
withTransitioningContentControl.PageTransition
inMainWindow.axaml
. - Try to change the content.
Desktop (please complete the following information):
Tested at:
- OS: Windows 10 22H2 19045.2846, Windows 11 22H2 22621.1555, Ubuntu-x64 20.04.5 LTS (KVM), Ubuntu-ARM64 22.04
Thanks for your help.
Issue Analytics
- State:
- Created 4 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Webkit CSS Animation issue - persisting the end state of ...
Clearly this makes sense in CSSland. The animation has been applied and is no longer acting on the element so the original styles...
Read more >TransitioningContentControl
When you change the content, an animation is played switching the old content to the new one.
Read more >Why are CSS animations and transitions blocked by ...
The animation or transition may stop suddenly or fail to show altogether if the properties are altered before it has finished. This happens ......
Read more >Animation Techniques for Adding and Removing Items ...
Animating elements with CSS can either be quite easy or quite difficult depending on what you are trying to do.
Read more >Animation transition and timing
An animation transition specifies changes that occur between one state and another. Set the transition to make the change less abrupt.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Atm almost all energy goes into 11.0. So while technically it can be fixed, its unlikely to be fixed soon in 0.10.x
yes, #9803 fixes this. but It didn’t roll back to version 0.10.x, I’m not sure why. @maxkatz6