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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

windowTitle value doesn't stick, getting removed immediately #5926

Open
1 task done
Ali-hd opened this issue Nov 10, 2023 · 0 comments
Open
1 task done

windowTitle value doesn't stick, getting removed immediately #5926

Ali-hd opened this issue Nov 10, 2023 · 0 comments
Labels
triage Issues to be categorized by the team

Comments

@Ali-hd
Copy link

Ali-hd commented Nov 10, 2023

馃悰 Current behavior

I tried adding a windowTitle using the routerOptions of createInstantSearchRouterNext, it didn't work as expected.

When I try to write a query, I can see the value for just a second before it goes back to the default window title.

馃攳 Steps to reproduce

  1. Open the sandbox browser window in a new tab in order to see the window title change.
  2. Enter any query and observe how the window title changes.
  3. You can try the same with clicking a category.

Live reproduction

https://codesandbox.io/p/sandbox/clever-elion-l9qrgg?file=%2Fpages%2Findex.tsx%3A57%2C19-57%2C48

馃挱 Expected behavior

As you enter a query value or click on a facet filter, the window title should update accordingly and doesn't get reverted back to the original title.

Package version

"react-instantsearch": "7.3.0",

Operating system

macOs 13.1

Browser

Chrome Version 119.0.6045.124

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Ali-hd Ali-hd added the triage Issues to be categorized by the team label Nov 10, 2023
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

1 participant