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

Mismatched ID on on server side render app even with react 18 #1684

Closed
sharmapukar217 opened this issue Sep 24, 2022 · 6 comments
Closed

Mismatched ID on on server side render app even with react 18 #1684

sharmapukar217 opened this issue Sep 24, 2022 · 6 comments

Comments

@sharmapukar217
Copy link

I'm using radix ui for my project using react 18 for ssr(rakkas js). As per the documentation, it should work without any error but I'm getting Warning: Prop aria-controls did not match. Server: "radix-:R2lq:" Client: "radix-:Rle:"

@andy-hook
Copy link
Contributor

@sharmapukar217 Would you be able to provide a minimal repro via CSB or cloneable project?

@sharmapukar217
Copy link
Author

Oh that's solved now. I was going to close this issue. For details check rakkas js

@MrDigii
Copy link

MrDigii commented Aug 4, 2023

Hi, I am using the latest Nextjs 13 Version (13.4.12) with React 18.2.0. It's a clean Nextjs project with the new app directory and Tailwind. If I'm using any of the radix-ui primitives I getting the warning from @radix-ui/react-slot:

Warning: Prop `aria-controls` did not match. Server:

Project: https://github.com/MrDigii/musify

Any ideas?

@joaom00
Copy link
Contributor

joaom00 commented Aug 4, 2023

@MrDigii Seems to be an issue on the Next.js side vercel/next.js#53216. You can try install the canary version next@canary

@MrDigii
Copy link

MrDigii commented Aug 4, 2023

@joaom00 Oh thank you, now it works 🥇

@Princekrampah
Copy link

@joaom00 Thanks, this worked for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants