I have a material sidenav which has navlist and submenus in it . When i am closing the menu it is still taking the amount of space for the submenus .
It currently looks l