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
Framer motion doesn't seem to support animating logical properties like inset-inline-start and inset-inline-end. These should work the same as their physical counterparts, left and right.
Using framer-motion:10.0.1 and react:18.20.
Here's a reproduction of the issue. For some reason the animation only works in one direction using inset-inline-start and inset-inline-end but as you can see it doesn't tween between the two values.
Screen.Recording.2023-03-02.at.09.14.26.mov
The text was updated successfully, but these errors were encountered:
We do support animating left/right in the manner shown here but the way we do this is pretty legacy, I kind of wish it wasn't in there. Even so animating left/right is relatively common whereas inset-inline-start and inset-inline-end isn't - so it's not something I'm going to add where you could animate them in the same way.
However, the way I'd recommend animating these props is the same way I'd recommend animating left/right. Which is, changing them via style and adding a layout prop.
Framer motion doesn't seem to support animating logical properties like
inset-inline-start
andinset-inline-end
. These should work the same as their physical counterparts,left
andright
.Using
framer-motion
:10.0.1
andreact
:18.20
.Here's a reproduction of the issue. For some reason the animation only works in one direction using
inset-inline-start
andinset-inline-end
but as you can see it doesn't tween between the two values.Screen.Recording.2023-03-02.at.09.14.26.mov
The text was updated successfully, but these errors were encountered: