-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Issue Description
When translate or scale values are set to 0 for exitTo field when animating rootLayout shade cover the animation doesn't work as intended.
Reproduction
getRootLayout().open(<a valid view object>, {
shadeCover: {
color: '#000',
opacity: 0.7,
tapToClose: true,
},
animation: {
enterFrom: {
scaleX: 0,
scaleY: 0,
duration: 300,
curve: CoreTypes.AnimationCurve.easeInOut,
},
exitTo: {
scaleY: 0,
scaleX: 0,
duration: 300,
curve: CoreTypes.AnimationCurve.easeInOut,
},
},
});
In this case, the entry animation scale works, but not the exit animation scale.
Relevant log output (if applicable)
No response
Environment
Tested on:
"@nativescript/core": "8.5.1",
"@nativescript/android": "8.5.0",
"@nativescript/ios": "8.4.1",
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels