[Vue warn]: Component inside <Transition> renders non-element root node that cannot be animated.
Hello everyone ! I've tried to make a combobox with an appear animation of the popper but I have the error:
Here is the layout of my component :
4 Replies
You have the layout but here it is in more details :
Radix Vue
Unstyled, accessible components for building highāquality design systems and web apps in Vue
?
Oh ok it works, but the documentation of radix-vue is blured
But the transition will not work because there is no v-if
But in the radix-vue documentation it says forceMount (on ComboboxPortal)
Used to force mounting when more control is needed. Useful when controlling animation with Vue animation libraries.
So what does it mean ?
Ok I will do it
Here it is :
https://stackblitz.com/edit/nuxt-starter-chghww
:usefetchwrong: :vue:
So there is no solutions @L422Y ?
š
GitHub
[Bug]: Vue Transition with Combobox Ā· Issue #821 Ā· radix-vue/radix-...
Environment Developement/Production OS: Windows 11 Node version: 20.10.0 Package manager: [email protected] Radix Vue version: 1.6.1 Vue version: 3.4.21 Nuxt version: 3.11.1 Nuxt mode: universal Nuxt tar...