Animation regression
See original GitHub issueThe following animation jumps to full width briefly as the animation starts. This is with current nightly builds. It is as if there is a brief period when neither style is applied
<Grid>
<Grid.Styles>
<Style Selector="ToggleButton[IsChecked=true]">
<Style.Animations>
<Animation Duration="0:0:2.15"
FillMode="Forward"
Easing="SineEaseInOut">
<KeyFrame Cue="0%">
<Setter Property="Width" Value="150"/>
</KeyFrame>
<KeyFrame Cue="100%">
<Setter Property="Width" Value="300"/>
</KeyFrame>
</Animation>
</Style.Animations>
</Style>
<Style Selector="ToggleButton[IsChecked=false]">
<Style.Animations>
<Animation Duration="0:0:2.15"
FillMode="Forward"
Easing="SineEaseInOut">
<KeyFrame Cue="0%">
<Setter Property="Width" Value="300"/>
</KeyFrame>
<KeyFrame Cue="100%">
<Setter Property="Width" Value="150"/>
</KeyFrame>
</Animation>
</Style.Animations>
</Style>
</Grid.Styles>
<ToggleButton Height="30" VerticalAlignment="Top" >
<TextBlock>Click Me</TextBlock>
</ToggleButton>
</Grid>
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (19 by maintainers)
Top Results From Across the Web
Visualizing Optimization in Linear Regression and Logistic ...
In this post, I will show a few animations that visualize “learning in action”. Hopefully, they can convey the “feel” of some foundational...
Read more >Animations of Multiple Linear Regression with Python
This is the follow-up article to “Gradient Descent Animation: 1. Simple linear… ... Animated regression plane and contour plot (large) ...
Read more >Interactive Visualization of Linear Regression / Yi Zhe
Powering the world's best data teams. Use Observable to explore your data, create visualizations, and share insights faster. Try it for free.
Read more >Causal Inference Animated Plots
Animation showing the capture of the by-group means before treatment, and after treatment. Regression Discontinuity. There's a policy treatment called Treatment ...
Read more >matplotlib-linear-regression-animation.ipynb
This is a notebook for the medium article Matplotlib Linear Regression Animation in Jupyter Notebook. Please check out article for instructions.
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 Free
Top 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

this does work though
this still seems to be an issue, repro upgraded for 11.0 previews clicking the button sometimes makes it jump