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

Strange Behavior in a REPL #14

Open
rchrdnsh opened this issue Dec 12, 2021 · 2 comments
Open

Strange Behavior in a REPL #14

rchrdnsh opened this issue Dec 12, 2021 · 2 comments

Comments

@rchrdnsh
Copy link

Hi there again :-)

Working on a REPL using the library svelte-motion and I'm running into a bit of a head scratcher for me...

I'm making a settings menu that expands from the gear icon and everything is great until I close it again...that is when the content inside the menu gets...strange...The text in the menu should scale up and down with the menu, but when it scales down again the text gets really big before it scales down....

Just click the gear Icon once to open and the text will scale up smoothly, then click it again to watch the text suddenly get massive, then scale down...

...I don't want the 'gets massive part'...

https://svelte.dev/repl/e3dfacd32e1148c5808417aa27cc51e2?version=3.38.2

@micha-lmxt
Copy link
Owner

Hi, looks nice so far. I would not try to use 'layout' effects to transform the inner boxes, here is a REPL:
https://svelte.dev/repl/1d8ea18369a646bba4e05a22a7b276a0?version=3.38.2

@rchrdnsh
Copy link
Author

hmmmm...i can't tell what you did differently here...do you mind pointing out what you changed? Thank you XD

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