You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAUI: App crash due to "Unable to find IAnimationManager for 'Microsoft.Maui.Controls.Shapes.Path'. Arg_ParamName_Name, animatable" by using inputkit:RadioButton
#359
Open
satish-dnv opened this issue
Nov 20, 2023
· 2 comments
Hi,
I am encountering a critical issue in my .NET MAUI app when using the RadioButton from InputKit.MAUI package. The app crashes with the following error message:
"Unable to find IAnimationManager for 'Microsoft.Maui.Controls.Shapes.Path'. Arg_ParamName_Name, animatable"
This issue has been identified through logs in Sentry and is causing the app to become unusable. The App crashes in both Android and iOS.
To Reproduce
Steps to reproduce the behavior:
Use InputKit:RadioButton in XAML file.
Build and deploy the app in release mode.
Open the application, login with credentials and close the app.
Try to open the application again by tapping on it.
App crash at dashboard page, throwing the error in sentry logs.
Expected behavior
Should be able to open the app unlimited times without a crash.
Screenshots
Smartphone (please complete the following information):
Hi @enisn! We successfully addressed the bug by tweaking the code in the "src/InputKit.Maui/Shared/Controls/RadioButton.cs" file. Specifically, we replaced the iconChecked.ScaleTo(isChecked ? DOT_FULL_SCALE : 0, 180); with the following code: if (isChecked) { iconChecked.Scale = DOT_FULL_SCALE; } else { iconChecked.Scale = 0; }
While this solution resolves the bug, it does impact the animation effect. We recommend investigating and refining the ScaleTo() function for a more seamless animation experience.
Describe the bug
Hi,
I am encountering a critical issue in my .NET MAUI app when using the RadioButton from InputKit.MAUI package. The app crashes with the following error message:
"Unable to find IAnimationManager for 'Microsoft.Maui.Controls.Shapes.Path'. Arg_ParamName_Name, animatable"
This issue has been identified through logs in Sentry and is causing the app to become unusable. The App crashes in both Android and iOS.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should be able to open the app unlimited times without a crash.
Screenshots
Smartphone (please complete the following information):
Additional context
maui-ios 7.0.101/7.0.100 SDK 7.0.300
maui-android 7.0.101/7.0.100 SDK 7.0.300
The text was updated successfully, but these errors were encountered: