We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a ProgressRing is hidden and shown multiple times, then the spinner starts to jump every 2 seconds.
ProgressRing
Interestingly, it effects all ProgressRing instances on the page which are always visible!
<CheckBox IsChecked="{Binding IsProgressRingVisible}">Toggle</CheckBox> <ui:ProgressRing Visibility="{Binding IsProgressRingVisible, Converter={StaticResource BoolToVisibilityConverter}}" IsIndeterminate="True" />
It should not start jumping.
No response
Windows 10 22H2 19045.5371
.NET 4.7.2
4.0.0
The From is missing from the first DoubleAnimation. After adding this, you can toggle as many times you want and it will not start jumping around.
From
DoubleAnimation
In the control template, replace this:
<DoubleAnimation RepeatBehavior="Forever" Storyboard.TargetName="Arc" Storyboard.TargetProperty="(Canvas.RenderTransform).(RotateTransform.Angle)" To="360" Duration="0:0:2" />
with this
<DoubleAnimation RepeatBehavior="Forever" Storyboard.TargetName="Arc" Storyboard.TargetProperty="(Canvas.RenderTransform).(RotateTransform.Angle)" From="0" To="360" Duration="0:0:2" />
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
If a
ProgressRing
is hidden and shown multiple times, then the spinner starts to jump every 2 seconds.Interestingly, it effects all
ProgressRing
instances on the page which are always visible!To Reproduce
Expected behavior
It should not start jumping.
Screenshots
No response
OS version
Windows 10 22H2 19045.5371
.NET version
.NET 4.7.2
WPF-UI NuGet version
4.0.0
Additional context
Fix
The
From
is missing from the firstDoubleAnimation
. After adding this, you can toggle as many times you want and it will not start jumping around.In the control template, replace this:
with this
The text was updated successfully, but these errors were encountered: