Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noticing a 1 pixel shift during animation... #20

Open
rchrdnsh opened this issue May 5, 2022 · 1 comment
Open

Noticing a 1 pixel shift during animation... #20

rchrdnsh opened this issue May 5, 2022 · 1 comment

Comments

@rchrdnsh
Copy link

rchrdnsh commented May 5, 2022

Hi! XD

Made a REPL animating grid-row on 3 elements...

https://svelte.dev/repl/41f41bce444c4c52b771ba66d7043c19?version=3.48

...and it works pretty well, except that when the animation is occurring I notice that the elements exhibit a subtle shift in width by maybe 1 or 2 pixels, then return to their original width again...

...it also seems as if the border-radius gets a little malformed as well, like it's gets elongated or something...

...it's small, but a little annoying...I wonder if there is anything that can be done, or if I am doing something incorrect...

Thank you!

@micha-lmxt
Copy link
Owner

I believe the issue it's that the scale correction (https://svelte-motion.gradientdescent.de/layout) is not working correctly at the moment. I try to fix but it is tricky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants