Page 1 of 1

Stopping IONIC Side Menu from opening with screen swipe right

Posted: Wed Mar 22, 2017 12:38 pm
by Andy Parker

is there a way to stop the side menu in an IONIC app opening when the user swipes the screen right?

I created an IONIC app with side menu, but want to use the swiping in the app and dont want the side menu opening with a swipe, only with the use of the menu button at the top right of the screen.

thanks

Andy.


Stopping IONIC Side Menu from opening with screen swipe right

Posted: Wed Mar 22, 2017 8:25 pm
by Serhii Kulibaba

Hello Andy,

Please add properties ng-swipe-right/ng-swipe-left to the index page (the component "Page") with a function, which returns a false value:

Image

Image


Stopping IONIC Side Menu from opening with screen swipe right

Posted: Wed Mar 22, 2017 9:01 pm
by Andy Parker

Perfect!
Many thanks.


Stopping IONIC Side Menu from opening with screen swipe right

Posted: Fri Sep 07, 2018 7:12 am
by Howard Weng

Hi, I do want swipe function turned off.

I do as you instructed, but not working. can you advise why?

Image Image Image