windowTitle value doesn't stick, getting removed immediately
Ali-hd opened this issue Β· comments
π 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
- Open the sandbox browser window in a new tab in order to see the window title change.
- Enter any query and observe how the window title changes.
- 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