I\'m writing a small ionic app and have an issue. I\'m using a sidemenu and also tabs. I have an ionic slide-box in one of my views, when I wipe this slidebox from left to right
I'm using something like this on my app:
.controller('AgendaCtrl', function($scope, $ionicSideMenuDelegate){
$scope.$on('$ionicView.enter', function(){
$ionicSideMenuDelegate.canDragContent(false);
});
$scope.$on('$ionicView.leave', function(){
$ionicSideMenuDelegate.canDragContent(true);
});
})
now, when you leave the view it's draggable again.
<ion-side-menus>
<ion-side-menu-content drag-content="false">
............
</ion-side-menu-content>
</ion-side-menus>
this is sample code follow @Chetan Buddh's answer
ion-side-menu-content drag-content="false"
put this code in your ion-sidemenu
's ion-pane
tag