How to prevent displaying side menu by a swipe?

Hi guys.

I’d like to prevent the side menu of my app to be displayed when swiping from the left, in the whole app.

I know there is a method to disable swipe per page, but in no way I would write code in every pages to disable a menu, thus makes no sens to me.

Actually, I think the user should be able to access the side menu ONLY when the icon menu appears in the navbar, not in every pages.

Thanks for your help.

Found the answer in an issue:
<ion-menu [content]="content" [swipeEnabled]="false">

1 Like