Missing hits, refinement list on page load.
boreens opened this issue · 1 comments
On initial page load hits results and refinement list are missing. Only on search input focus hits and refinement list appears. (Initial plan was to use Algolia without search box) Refinement list options lagging on click. Sometimes you have to click multiple times on the checkbox for state update
Steps to reproduce the behaviour:
- Clone
git@github.com:boreens/spartacus-algolia-test.git
- Install npm dependancies with
yarn
- Run dev server
yarn start
- Go to http://localhost:4200/c/576
Expected behavior 💭
Refinement list and hits are visible on the firs page load. On the first click refinement checkbox stays checked
Environment:
- OS: mac
- Browser: Chrome
Hi @boreens, and thanks for reaching out.
Unfortunately, we don't have plans to support Spartacus for the moment, so we can't dedicate time to make sure it works with Angular InstantSearch.
The issue might be inherent to how Spartacus instantiates Angular InstantSearch, so we'd recommend starting there if you're willing to dig. We'l also gladly review your PR if you want to contribute to Angular InstantSearch.