framer / motion

Open source, production-ready animation and gesture library for React
https://framer.com/motion
MIT License
22.27k stars 733 forks source link

[BUG] ScaleZ doesn't get applied to the motion component #2609

Open AmmarZeer opened 1 month ago

AmmarZeer commented 1 month ago

[BUG explanation] : When adding styles through the initial/animate directly or even through variants all the styles get applied other than the scaleZ. Even when rotateZ and translateZ get applied the scaleZ doesn't.

[Code sandbox] : CodeSandbox notice when you inspect the element the scaleZ is the only property that isn't there.

[Steps to reproduce]: Add scaleZ to any motion component.

[Expected behavior]: The element should have scaleZ applied just like scaleX and scaleY.

[Screenshots] : image image