$ionicSideMenuDelegate prevent autoclosing when click outside of the menu


#1

The side menu closes automatically when the user press anything outside the menu, any idea on how to prevent that? I even tried to disabled the whole view when the side menu is opened:

<ion-view ng-disabled="!view_status.enabled" ng-class="{'disabled': !view_status.enabled}">

.disabled {
opacity: 0.5;
pointer-events: none;
}
.disabled > * {
opacity: 0.5;
pointer-events: none;
}

And this actually worked, in the sense that after view_status.enabled become false I’m not able to click anything in the view and the opacity is setted, but if I click outside the open menu, on the disabled view, the menu closes automatically anyway.

Thanks