Show only current category tree and display siblings when selecting subcategory


We’re using Algolia version 1.13.0 for our Magento 1 ver. We’ve having problems configuring the hierarchicalMenu widget so we can display only the current category tree and still display the siblings when selecting a subcategory.

We added to the widget following config

rootPath: algoliaConfig.request.path

in order to show only current category tree and left the default value for showParentLevel to allow siblings to show.

It works fine for categories on level1, but for categories on level 2 when selecting a category the behavior is strange : some siblings disappear or are shown but with a different result number .

Is there a config we’re missing or the widget is not made for work for current category tree and siblings showing? If so, is there a workaround?

Let me know if you need more info!

Best regards!