WebDevStudios / wp-search-with-algolia

Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.
https://wordpress.org/plugins/wp-search-with-algolia/
145 stars 55 forks source link

hierarchicalMenu widget, selected filter is not indicating that it is selected when using rootPath #428

Open sebastiencyr opened 2 months ago

sebastiencyr commented 2 months ago

Version 2.8.1 of the plugin is using instantsearch.js version 4.56.5.

In that version, when a hierarchicalMenu widget's rootPath is set, clicking on a filter in that widget does not add the classes "ais-HierarchicalMenu-item--selected" and "ais-HierarchicalMenu-link--selected" to their respective elements.

I replaced the loaded instantsearch.js with version 4.74.0, and it is now working correctly. With this, the issue is fixed, at least until the plugin is updated.

Will this be the library included in the next release?

Thanks!

tw2113 commented 2 months ago

I can't promise anything for sure, but I know we have https://github.com/WebDevStudios/wp-search-with-algolia/pull/424 which also needs a refresh that would help with this topic.

I'll definitely internally bump it up in some priority, as there's some growing needs.