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

Children of InstantSearchNext are being duplicated #6552

Open
1 task done
AmeerSapadmi opened this issue Feb 2, 2025 · 1 comment
Open
1 task done

Children of InstantSearchNext are being duplicated #6552

AmeerSapadmi opened this issue Feb 2, 2025 · 1 comment
Labels
triage Issues to be categorized by the team

Comments

@AmeerSapadmi
Copy link

🐛 Current behavior

When using InstantSearchNext in the layout, its child components are being duplicated. This issue did not occur previously and seems to have appeared after the fix for #6479 was implemented.

🔍 Steps to reproduce

  1. Open the homepage
  2. Scroll down
  3. Observe that the "Click" button appears twice. The first instance does not function, while the second one works as expected

Live reproduction

https://codesandbox.io/p/devbox/algolia-next-bug-duplicated-provider-content-2ht5yj

💭 Expected behavior

The child components of InstantSearchNext should not be duplicated.

Package version

next 15.0.4, react-instantsearch-nextjs 0.4.4, algoliasearch 5.17.1, react-instantsearch 7.13.8

Operating system

No response

Browser

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@AmeerSapadmi AmeerSapadmi added the triage Issues to be categorized by the team label Feb 2, 2025
@a-mitic-vegait
Copy link

I’m experiencing the same issue with InstantSearchNext duplicating child components. Let me know if any additional details would help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issues to be categorized by the team
Projects
None yet
Development

No branches or pull requests

2 participants