Apply filters only after click on specific button

Hello,
please help me to achieve these requirements.
We’ve built a desktop version of our site using react-instantsearch-hooks-web everything working great!

Now we are on the mobile version and we want to show all filters in a modal, in that modal we have the apply filters button and exit

The first problem is:
We need that filters are not instantly applied until the button is clicked. How can I achieve this ?

The second problem is:
Even if now all items are filtered instantly, when the modal is closed (unmounted) all filters are reset. And I have 0 active filters.

1 Like