I’m following up on this thread which is about the InstantSearch.js infiniteHits widget and cache setting not working as intended.
I’ve created a clean project. Source code can be found here.
I’ve created a video which shows the issue which you can view here.
In the video, you will see that when I click on the results:
56-jessamine, caching works as intended. The scroll position is restored when I leave and come back to the search page.
When I click on these results:
55-eleanor, caching does not work. I’m returned to the top of the page instead of to the correct scroll position in search.
I’ve verified that this behaviour seems to happen in the latest version of Chrome, but not Safari.
As I’m new to Algolia, I’ve tried to follow the docs, but if this is user error, please let me know!
I’m cc @haroen as you replied to my initial post. Hope this is ok to do. But welcome help from anyone on this.