wp-search-with-algolia icon indicating copy to clipboard operation
wp-search-with-algolia copied to clipboard

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

Open sebastiencyr opened this issue 1 year ago • 1 comments

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!

sebastiencyr avatar Sep 09 '24 17:09 sebastiencyr

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.

tw2113 avatar Sep 09 '24 17:09 tw2113

This should be getting handled with https://github.com/WebDevStudios/wp-search-with-algolia/pull/481

tw2113 avatar Jun 06 '25 19:06 tw2113

This has been merged into release2100 branch.

tw2113 avatar Jun 09 '25 16:06 tw2113