Closed shuice closed 2 years ago
Same as #5046. Now that I have migrated from WinUI 3 to 2.7+, I can reproduce the same issue in both progress ring and refresh container.
Same as #5046. Now that I have migrated from WinUI 3 to 2.7+, I can reproduce the same issue in both progress ring and refresh container.
yeap, your are right, it's same.
@karenbtlai Is there code that stops the AVP when the controls is unloaded?
@karenbtlai Is there code that stops the AVP when the controls is unloaded?
It only stops when IsActiveProperty and IsIndeterminateProperty is changed.
I also encountered this problem in WinUI 3.0.
Describe the bug
If the
ProgressRing
is inside theTabviewItem
, after switching to anotherTabViewItem
and then switching back, theProgressRing
will stop the animation, and it should keep the animation.Steps to reproduce the bug
muxc:TabView
to the root Grid ofMainPage.xaml
, add twomuxc:TabViewItems
to themuxc:TabView
muxc:TabViewItem
, one ismuxc:ProgressRing
, the other isWindows.UI.Xaml.Controls.ProgressRing
, these two ProgressRings do not set any propertiesmusc: ProgressRing
stops the animation, and the animation ofWindows.UI.Xaml.Controls.ProgressRing
remainsExpected behavior
musc: ProgressRing
keep animate asWindows.UI.Xaml.Controls.ProgressRing
Screenshots
NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type
Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
I have test the following environment, they have the same behavior.
case 1:
Win11 Build 22504.rs_prerelease.211112-1650
+UWP(nuget WinUI2.7)
case 2:Win11 Build 22504.rs_prerelease.211112-1650
+Win32 Packaged(Microsoft.WindowsAppSDK 1.0.0 11/17/2021)
case 3:Windows10 21H1 19043.1237
+UWP(nuget WinUI2.7)
sample souce code can be found here, sorry about the wrong spell issue(issure).
The key code is here: