Stop unselection of Hierarchical menu algolia

Is there a way to stop the unselection of a parent category when navigating in the Hierarchical menu. For example if i am in a sub sub category A>B>C and i click on the parent category i dont want it to unselect the parent category rather just navigate there A. Similarly if i am on a parent category i shouldnt be able to click it for it to be unselected, can only move over to a different parent category