Skip to content

[Windows]ViewExtensions RotateYTo and RotateXTo with length 0 crashes on Windows #18420

@HubbleCommand

Description

@HubbleCommand

Description

When using RotateYTo or RotateXTo with a length of 0, the app crashes on Windows, but not on Android.

There is no crash with other ViewExtension methods (translation, scaling, other rotations), only these two.

Steps to Reproduce

  1. Create new .NET MAUI App
  2. In MainPage.xaml.cs OnCounterClicked, add CounterBtn.RotateXTo(10, 0);
  3. Start app & click button, the app should crash

See https://github.com/HubbleCommand/ReproApp/blob/master/ReproApp/MainPage.xaml.cs#L16

Link to public reproduction project repository

https://github.com/HubbleCommand/ReproApp

Version with bug

7.0.96

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

Use a non-zero timeout i.e. 1, which creates the same visual effect.

Relevant log output

Exception thrown: 'System.ArgumentException' in WinRT.Runtime.dll

Metadata

Metadata

Assignees

Labels

area-animationAnimation, Transitions, Transformspartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions