solidjs-community / solid-transition-group

SolidJS components for applying animations when children elements enter or leave the DOM.
https://solid-transition-group.netlify.app
MIT License
254 stars 14 forks source link

Add TransitionChild/Root components #44

Open thetarnav opened 7 months ago

thetarnav commented 7 months ago

Currently this package only provides <Transition> and <TransitionGroup> components that apply styles to direct individual elements. But you cannot easily toggle exit/enter classes in nested elements. Is it something solved by TransitionChild/Root components in react/vue. Here is an example how it could be used: https://tailwindui.com/components/application-ui/overlays/slide-overs