Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(searchBox): handle BFCache browsers (#1212)
When the page is coming from BFCache (https://developer.mozilla.org/en-US/docs/Working_with_BFCache) then we force the input value to be the current query. Otherwise, this happens: - `<input>` autocomplete = off (default) - search $query - navigate away - use back button - input query is empty (because `<input>` autocomplete = off) Firefox and Safari are using BFCache for instant back button
- Loading branch information