You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your issue
If a <Disclosure /> component is used with the default-open prop and is rendered on the server, the initial markup has malformed aria markup (that will trigger lighthouse accessibility checks)
After opening/closing the element, correct markup is returned.
Not sure, if this is a headlessui bug or something related to nuxt/vue ssr though.
The text was updated successfully, but these errors were encountered:
This was a fun one! We made it work in a non-Nuxt application but then ran into funny mismatch issues in a Nuxt application. For example, logging/looking at the actual data we saw the correct values, but in the DOM the incorrect values were used.
We figured out a way by restructuring some internal code to make it work with SSR and hydration.
This should be fixed by #2645, and will be available in the next release.
What package within Headless UI are you using?
@headlessui/vue
What version of that package are you using?
v1.7.15
What browser are you using?
Arc / N/A
Reproduction URL
https://stackblitz.com/edit/nuxt-starter-evrrcf?file=app.vue
Describe your issue
If a
<Disclosure />
component is used with the default-open prop and is rendered on the server, the initial markup has malformed aria markup (that will trigger lighthouse accessibility checks)After opening/closing the element, correct markup is returned.
Not sure, if this is a headlessui bug or something related to nuxt/vue ssr though.
The text was updated successfully, but these errors were encountered: