Support enter/exit transitions #2078
Labels
COMP: runtime
STATUS-1: needs triage
New issue which needs to be triaged
TYPE: enhancement
New feature or request
Milestone
Is your feature request related to a problem?
Qwik doesn't have any first class support for transitioning elements when they are created or destroyed.
Animating a component into view, or between states, can be done using an eager
useClientEffect$
.The difficulty is when an element is destroyed; it's not possible to keep the element in the DOM until the animation is complete.
Describe the solution you'd like
SolidJS allow CSS animations with a Transition element:
Svelte has a nice API using html attributes:
Describe alternatives you've considered
To animate out an element:
useWatch
anduseClientEffect
but the element will still be destroyed immediately.Additional context
No response
The text was updated successfully, but these errors were encountered: