Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydration children mismatch in <div>: server rendered element contains fewer child nodes than client vdom. #8

Closed
MuhammadKhizar7 opened this issue Nov 2, 2022 · 1 comment
Labels
bug Something isn't working dependencies

Comments

@MuhammadKhizar7
Copy link

Hydration children mismatch in <div>: server rendered element contains fewer child nodes than client vdom.

This error cause and also flicker when using tabs when using this module and also when using raw headless UI module

If we wrap client only

 <ClientOnly>
  <TabGroup>
    .....
  </TabGroup>
</ClientOnly

or use transpile in config

  build: {
     transpile: ['@headlessui/vue'],
   },

but flicker effect remain same it because of client rendering

@P4sca1
Copy link
Owner

P4sca1 commented Nov 2, 2022

Please report issues of Headless UI itself on their GitHub repository: https://github.com/tailwindlabs/headlessui

The following issue might be related: tailwindlabs/headlessui#1479

@P4sca1 P4sca1 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2022
@P4sca1 P4sca1 added bug Something isn't working dependencies wontfix This will not be worked on and removed wontfix This will not be worked on labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies
Projects
None yet
Development

No branches or pull requests

2 participants