Hi :) what I want is that the submenu replaces the main menu like the main menu does when you toggle the menu button. I want to achieve that if you select an item of the menu with a submenu, then the submenu content slides from the right to the left replacing the main menu.
In my example it works like a drop down menu, it isn’t what I want. I want the submenu can slide too.
Similar to this example: