Show more/previous replaces instead of appending in infiniteHits

Hi,
I have stumbled upon a weird behaviour in the infiniteHits widget. Before user action has changed the results in some way (search or facets changing), the click on “show more” replaces the hit content with page 2’s content and adds a “show previous” button. If the user first changes the search or filters some facet and then click on “show more”, it behaves as I expect and would like it to always behave. The new content is appended to the existing content and no “show previous” button. Can someone point me in the right direction what might be causing this?

Hi @fredrik.vestin

Sorry for the delayed reply due to the US holiday.

I haven’t heard of this particular behavior. Any chance you have it in a code sandbox or live site I can view?