typesense / typesense-instantsearch-adapter

A JS adapter library to build rich search interfaces with Typesense and InstantSearch.js
MIT License
361 stars 62 forks source link

Refresh only refreshes current page #208

Closed mikey0000 closed 1 week ago

mikey0000 commented 1 week ago

Description

When using refresh from useInstantSearch only the current page is refreshed instead of all pages. Algolia seems to refresh all pages that are loaded.

Steps to reproduce

use useInfiniteHits or paginate to e.g page 2 call refresh

Expected Behavior

all loaded pages get refreshed when calling refresh()

Actual Behavior

only current page gets refreshed.

Metadata

26.0

OS:

mikey0000 commented 1 week ago

The more I stare at this the more I think its an issue with instantsearch.