Transitions form TailwindUI examples (using Headless UI popover components ) do not work
See original GitHub issueWhat package within Headless UI are you using? @headlessui/vue
What version of that package are you using? v1.6.5
What browser are you using? Chrome and Safari
Describe your issue
Just use any code from Tailwind UI > Marketing > Elements > Flyout Menus with Vue. Transitions do not work:
[Vue warn]: Component inside <Transition> renders non-element root node that cannot be animated.
at <PopoverPanel class="absolute z-10 inset-x-0 transform shadow-lg" >
at <BaseTransition appear=false persisted=false mode=undefined ... >
at <Transition enter-active-class="transition ease-out duration-200" enter-from-class="opacity-0 -translate-y-1" enter-to-class="opacity-100 translate-y-0" ... >
at <Popover class="z-0 relative" >
at <Menu>
at <App>
Looks like components do not have a single root element.
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:10
Top Results From Across the Web
Popover
Each component exposes information about its current state via render props that you can use to conditionally apply different styles or render different...
Read more >How to Use the Dialog Component with Headless UI and ...
Easily create a dialog component with Tailwind CSS.
Read more >Headless UI v1.0
The new Popover component lets you build custom dropdown UIs that don't have any content restrictions like a regular Menu component would. Great ......
Read more >Headless you popover does not work on clicking in react
This seems to be a compatibility issue with React 18. You can use the insiders build to make it work. Uninstall the Headless...
Read more >Tailwind CSS Components
Beautiful UI components, crafted with Tailwind CSS. ... Interactive examples for React and Vue powered by Headless UI, plus vanilla HTML if you'd...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just released 1.6.6!
Hey! Thank you for your bug report! Much appreciated! 🙏
This should be fixed by #1653, and will be available in the next release.
You can already try it using
npm install @headlessui/vue@insiders
.