Black screen while going back to any old view | Menu got stuck

Hi All,

I also facing animation issue in IOS device and simulator , below is my case.

Login page > dashboard > Account info > Detail > Logout (From menu) > Login

In above scanario when user logout I use all the possible solution in the below code.

    $ionicHistory.nextViewOptions({
          disableBack: true,
        disableAnimate : true,
        historyRoot  : true,
        });
    $ionicHistory.clearCache();
    $ionicHistory.clearHistory();

    $ionicSideMenuDelegate.toggleLeft(); // Menu didn't close in this case  so toggle menu assign code.
    $ionicSideMenuDelegate.canDragContent(false);

    $state.go("app.login");

When I select logout from menu my view bounces left and right and show black screen around for one second around. Also menu got stuck in-between and didn’t closed itself thats why i toggle the menu myself.

I have tried almost all the possible code but didn’t succeed yet.

Check out if this article can solve black screen problem