Skip to content

animate and transitions passed to components #5775

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

Closed
MarioDena opened this issue Dec 12, 2020 · 1 comment
Closed

animate and transitions passed to components #5775

MarioDena opened this issue Dec 12, 2020 · 1 comment

Comments

@MarioDena
Copy link

Not really a problem present, but a quality of life thing

I think it would be great if we could pass a transition to components, having this feature not limited to DOM elements only.
I don't know if it's possible but, it would be nice to have.

@Conduitry
Copy link
Member

It's not possible, because there's not guaranteed to be a single root DOM element in a component. If you want to animate something, create a wrapping element around the component.

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