Skip to content

Warning: Prop id did not match. Server: "headlessui-listbox-button-:R9ilp:" Client: "headlessui-listbox-button-:R16an5:" #2766

Closed
@craigbloodworth

Description

@craigbloodworth

While this issue was previously solved by fixing something in next.js:
Originally posted by @RobinMalfait in #2606 (comment)

It seems the problem still exists in Gatsby. I'm current getting:
Warning: Prop id did not match. Server: "headlessui-listbox-button-:R9ilp:" Client: "headlessui-listbox-button-:R16an5:"

It's current getting the way of SSR and causing rendering to fall back to the client.

"@headlessui/react": "^1.7.17",
"@headlessui/tailwindcss": "^0.2.0",
"gatsby": "^5.12.4",
....
"react": "^18.2.0",
"react-dom": "^18.2.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions