Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49190

Ion-view is not removed and scope is not destroyed if back animation disabled

$
0
0

@nirman99 wrote:

I want to go back to previous screen without an animation.
So I did this

    $ionicHistory.nextViewOptions({
          disableAnimate: true
     });
    $ionicHistory.goBack();

But the problem is view is not removed and destroyed if I disabled the back animation. $distroy event not fired and I still can see the ion-view in the DOM. With animation enabled it works fine.

How can I can go back without an animation properly?
ionic version: 1.2.4

Thanks

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49190

Trending Articles