Ability to Animate Changing of Tabs #1154
Unanswered
DanielBailey-web
asked this question in
Ideas
Replies: 1 comment
-
Wouldn't this be solved by controlling when the tab is actually changed?
Of course this would require wrapping the radix component with your own. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to animate the content when changing tabs?
Example of what I am going for
https://tailwind-elements.com/docs/standard/components/stepper/
What I have tried
What it did
It animates the content coming in from the right or left; however, the problem is that tab content that is going out is immediately unmounted from the dom. And therefore is not able to be animated.
Is it possible to keep all of the tab content force mounted?
This would solve the problem of not being able to animate stuff that is leaving. Or even a way to delay the unmounting process would solve this problem.
Beta Was this translation helpful? Give feedback.
All reactions