Skip to main content
14-Alexandrite
November 30, 2021
Solved

how to show only icons present in the menu after collapse the menu

  • November 30, 2021
  • 1 reply
  • 1851 views

hii,

I want to show only icons which are present in the menu (left side bar) after collapse the menu

i am sharing one snapshot please check and let me know the solution on this

122_1-1638267971209.png

 

please check above snapshot where i have highlighted collapse icon in red and yellow highlighted is icon .

so whenever i click on collapse icon i want to see only icon present in the menu

Best answer by Mukul_467346

That icon is a configuration/part of the menu itself, and the menu is placed on a container that can be expanded/collapsed. so ideally if you collapse, the whole content on the container will be collapsed. As a workaround what you can do is just place that home icon on a different container next to this container and use the overlay property of the container to display only the home icon once you collapse the container.  Just make sure you don't enable the expand/collapse on the second container. The second container will be just used to display the content when you collapse the menu container. Let me know if you need more clarification. 

1 reply

1-Visitor
November 30, 2021

That icon is a configuration/part of the menu itself, and the menu is placed on a container that can be expanded/collapsed. so ideally if you collapse, the whole content on the container will be collapsed. As a workaround what you can do is just place that home icon on a different container next to this container and use the overlay property of the container to display only the home icon once you collapse the container.  Just make sure you don't enable the expand/collapse on the second container. The second container will be just used to display the content when you collapse the menu container. Let me know if you need more clarification.