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

Warning: Prop aria-owns did not match. #468

Closed
adamklepacz opened this issue Jun 3, 2020 · 1 comment
Closed

Warning: Prop aria-owns did not match. #468

adamklepacz opened this issue Jun 3, 2020 · 1 comment

Comments

@adamklepacz
Copy link

adamklepacz commented Jun 3, 2020

Short description

I was trying to do use Geosuggest component within next.js app but I got this error:

Warning: Prop `aria-owns` did not match. Server: "geosuggest__list_251fcd4c58fb2" Client: "geosuggest__list_bad54fa98a27f

Expected results

I expected that by will work without throwing an errors.

Actual results

Instead of this, below error is thrown:

localhost:3001 2020-06-03 15-21-11

Additional Information

This is my component:
SearchInput jsx — newst-storefront-fe-repo 2020-06-03 15-21-02

This is an error:
localhost:3001 2020-06-03 15-21-11

I think it is related to how next.js works, it sees probably two instances of my GEO suggest.
Even why I pass prop ID="test" it creates two separate instances on server and client.

Any ideas how to fix it in Next.js app?

@ro-ka anything on this?

@adamklepacz adamklepacz changed the title react_devtools_backend.js:6 Warning: Prop aria-owns did not match. Server: "geosuggest__list_251fcd4c58fb2" Client: "geosuggest__list_bad54fa98a27f Warning: Prop aria-owns did not match. Jun 3, 2020
@ro-ka
Copy link
Contributor

ro-ka commented Jun 19, 2020

Duplicate of #452.

@ro-ka ro-ka closed this as completed Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants