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

Multiple Transition groups with same same items #46

Closed odama626 closed 4 months ago

odama626 commented 4 months ago

when using multiple transition groups with the same items in each one the animation or addition / remove always get applied to the last transition group on the page

thetarnav commented 4 months ago

Could you provide a peace of code to reproduce that? I’m a bit confused by what you mean by “same items”.

odama626 commented 4 months ago

I created a minimal example to try and reproduce it... and I wasn't able to... but oddly enough I can't reproduce it in my codebase now either

https://stackblitz.com/edit/solidjs-templates-hhmuax?file=src%2FApp.tsx

originally, when clicking something in "top" it would show up in "bottom" and not leave "top".. but yeah I can't reproduce it.

sorry about that