[ Resolved ] How to disable menu toggle button on large screen

I am using a standard ionic side menu with expose-aside-when=“large” property. To toggle the menu on smaller screen I am using a <button menu-toggle="left"></button>. Its working fine but I also need to disable/hide the menu-toggle on large screen when side menu is already exposed . Is there a built-in way to do it or I need to hack in some CSS.

Right now I have achieved it by

.aside-open .ion-navicon {
color:#aaa !important;

It just gives user a visual clue on mobile.

1 Like