question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TransformOperationTransition bug

See original GitHub issue

Describe the bug this bug occurs with TransformOperationTransition and :pointerover psudoclass, when the pointer left the control, the transition still executing. Occurs with 0.10.1 and 0.10.2, but not with previous versions.

To Reproduce Use the follow styles:

<Style Selector="Control"> //any control can be affect
   <Setter Property="Transitions">
      	<Transitions>
		<TransformOperationsTransition Property="RenderTransform" Easing="ExponentialEaseOut" 
                                                                     Duration="0:0:0.2"/>
	</Transitions>
   </Setter>
</Style>
<Style Selector="Control:pointerover">
   <Setter Property="RenderTransform" Value="scale(0.95)"/>
</Style>

Expected behavior CC_anim_ok

Current Behavior CC_anim_wrong

Desktop (please complete the following information):

  • OS: Windows 10 20H2
  • Version: Avalonia 0.10.2

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
MarchingCubecommented, May 7, 2021

I will open this again since there is a bug that requires you to set this initial transform to begin with. It seems that due to broken binding completion priorities we end up in an infinite transition cycle.

So far this line seems to be a culprit: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Base/PropertyStore/BindingEntry.cs#L75

Since it sets priority to Unset which gets picked up by animation as a value with very high priority and it tries to transition to it again.

On a side note - I was not able to reproduce scale(1) causing rendering to disappear.

2reactions
MarchingCubecommented, May 3, 2021

Transform transitions are a bit tricky currently, you might want to try using none instead of scale(1). Although both should work. I will take a look sometime during this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transform bug - Adobe Support Community - 11693409
I'm using Animate for a project at the moment, haven't used it for a while. Updated to latest version and it feels like...
Read more >
Transform bug? - Forums
In an animation I'm spawning an effect particle. My game is 2.5D so I apply a mirror script to its transform if the...
Read more >
css transition and translate bug
i'm developing a website, and i have a bug as seen in this fiddle. My footer, on hover, should go up, and on...
Read more >
Transformation Spell Bug : r/Pathfinder_Kingmaker
I just... So they had the spell add then remove a feat. When they should have weapons check for proficiency based on more...
Read more >
Bug found in Affine Transformation Feature
I just ran into a bug in AffineTransformationModifier within python package (Pypip). It turns out that given specificying either transfrom_box ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found