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
Here are the two variants of the piece of code in question:
-- works as expected
[ Animation.set
[ Animation.opacity 1
, Animation.scale 1.0
, Animation.exactly "z-index" "2"
]
]
-- does not work as expected
-- opacity and scale are never updated
[ Animation.set
[ Animation.exactly "opacity" "1"
, Animation.exactly "scale" "1.0"
, Animation.exactly "z-index" "2"
]
]
Here's the relevant version information from my elm-package.json:
"dependencies": {
"mdgriffith/elm-style-animation": "3.5.5 <= v < 4.0.0"
},
"elm-version": "0.18.0 <= v < 0.19.0"
Please let me know if there's any additional information I can provide.
P.S. Aside from this issue, the library has been a joy to work with! 😸
The text was updated successfully, but these errors were encountered:
I've noticed that if I use
Animation.exactly
to set some properties, those properties aren't animated/updated the next time they should be.Animation.exactly
andAnimation.opacity
(which, conveniently, happen to be defined next to each other) have the same return type (Animation.Model.Property
), so I figured I'd be able to get away with usingexactly
throughout.Here are the two variants of the piece of code in question:
Here's the relevant version information from my elm-package.json:
Please let me know if there's any additional information I can provide.
P.S. Aside from this issue, the library has been a joy to work with! 😸
The text was updated successfully, but these errors were encountered: