We’ve released a patch to version 1.5!
Bug Fixes
- Back button Fixes: Previously, users would get “stuck” after entering a page with facets, and need to hit back multiple times. When loading a page with facets, a history state is only pushed on a change to the facets. We also added replaceHistory as onStateChange param to support the backbuttons in the iframe integration.
- Respect back navigation with empty search. When a user navigates back in browser history to a page without a query, the original state is preserved. That is, the results are hidden and no query is conducted.
-
Alternative Verticals on No Results: When a user calls
ANSWERS.setContext
, the universal results link in the AlternativeVerticals component (No Results) is updated to reflected the new context.
Additional details can be found on Github here.