Repository navigation
Closed as not planned
Labels
difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/enhancementNew feature or requestplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformproject/animations 🎡Categorizes an issue or PR as relevant to animationsstaleThis item has been marked as stale and will be closed if there is no activity.
Description
I'm submitting a bug report
Bug report (I searched for similar issues and did not find one)
Current behavior
The UserControl, once placed inside a Page, starts animating as soon as it is loaded while in UWP.
On WASM, the UserControl appears, but it doesn't start animating.
Expected behavior
I would expect that both behave the same. As in, both in UWP and WASM, the Storyboard contained between BeginStoryboard tags will start animating as soon as the object is loaded.
Minimal reproduction of the problem with instructions
Create a blank UserControl. Place the following code inside it:
<Grid x:Name="MainGrid">
<Grid.Resources>
<BeginStoryboard x:Name="BeginAnim">
<Storyboard x:Name="GrowStoryboard">
<DoubleAnimation
Storyboard.TargetName="E1"
Storyboard.TargetProperty="Width"
EnableDependentAnimation="True"
From="0.0"
To="50.0"
Duration="0:0:1">
<DoubleAnimation.RepeatBehavior>Forever</DoubleAnimation.RepeatBehavior>
</DoubleAnimation>
<DoubleAnimation
Storyboard.TargetName="E1"
Storyboard.TargetProperty="Height"
EnableDependentAnimation="True"
From="0.0"
To="50.0"
Duration="0:0:1">
<DoubleAnimation.RepeatBehavior>Forever</DoubleAnimation.RepeatBehavior>
</DoubleAnimation>
</Storyboard>
</BeginStoryboard>
</Grid.Resources>
<Ellipse x:Name="E1" Stroke="Black" StrokeThickness="1" Opacity="1">
</Ellipse>
<Ellipse x:Name="E2" Stroke="Black" StrokeThickness="1" Opacity="0"></Ellipse>
</Grid>
If you place this UserControl onto the first page and run the application, in UWP it will start expanding until width&height 50 and then restart. If you try to do the same in WASM, the page loads but the ellipse is fully expanded and doesn't animate at all.
Environment
Nuget Package:
No additional packages
Package Version(s):
Affected platform(s):
- [ ] iOS
- [ ] Android
- [x] WebAssembly
- [x] Windows
- [ ] Build tasks
Visual Studio
- [x] 2017 (version: Community, 15.9.28307.145 )
- [ ] 2017 Preview (version: )
- [ ] for Mac (version: )
Relevant plugins
- [ ] Resharper (version: )
Metadata
Metadata
Assignees
Labels
difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/enhancementNew feature or requestplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformproject/animations 🎡Categorizes an issue or PR as relevant to animationsstaleThis item has been marked as stale and will be closed if there is no activity.
Activity
[-]BeginStoryboard not firing on WASM[/-][+]`BeginStoryboard` not firing on WASM[/+]github-actions commentedon Jul 10, 2025
This issue has become stale with over 1 year of inactivity and will be closed in 10 days unless a comment is provided or the stale label is removed.
MartinZikmund commentedon Jul 15, 2025
Only relevant to native renderer, closing.
Merge pull request unoplatform#444 from unoplatform/dev/madi/fix-togg…
github-actions commentedon May 5, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.