Hi
i had a problem all my links was on left side menu
so when you open the side menu and click on link to other page (href="#/other")
then on the new page all links become unclickable
after some investigation i noticed that the main content is not getting the transform css property
after playing with it a little i noticed that the “$ionicSideMenuDelegate.isOpenLeft()” is true
so here is my quick fix , i hope its will help anyone having the same issue (i couldn’t find any related topic)
I am not sure if this is a consequence of using the Phonegap Dev app but sometimes I noticed odd behavior. For me, sometimes the sidemenu will close before the state transistion, so it’ll seem like the new state suddenly appears. What I’m doing now is placing this in my .run section of my app:
$rootScope.$on("$stateChangeSuccess", function () {
if ($ionicSideMenuDelegate.isOpen()) {
$ionicSideMenuDelegate.toggleLeft();
}
});
This way, the menu closes only after the transition. I have no idea if this is a “best practice” approach but it seems to work well. Just thought I’d share my approach, in case it helps someone.