This repository was archived by the owner on Dec 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
packages-native/animation/src Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,21 @@ export class Animation extends Component<Props> {
51
51
if ( animationType === "out" && animationOut === "none" ) {
52
52
this . log ( "No 'Exit animation' is selected for animation type 'Exit'" ) ;
53
53
}
54
+ if ( animationType === "in" && ( animationOut !== "none" || animationAttention !== "none" ) ) {
55
+ this . log (
56
+ "The 'Attention' an 'Exit' animation is ignored and should be set to 'None' when effect 'type' 'Entry' is selected"
57
+ ) ;
58
+ }
59
+ if ( animationType === "attention" && ( animationOut !== "none" || animationIn !== "none" ) ) {
60
+ this . log (
61
+ "The 'Entrance' and 'Exit' animation is ignored and should be set to 'None' when effect 'type' 'Attention' is selected"
62
+ ) ;
63
+ }
64
+ if ( animationType === "out" && ( animationIn !== "none" || animationAttention !== "none" ) ) {
65
+ this . log (
66
+ "The 'Entry' and 'Attention' animation is ignored and should be set to 'None' when effect 'type' 'Exit' is selected"
67
+ ) ;
68
+ }
54
69
}
55
70
56
71
private log ( message : string ) : void {
You can’t perform that action at this time.
0 commit comments