# How to disable slide gesture?

**URL:** <https://forum.ionicframework.com/t/how-to-disable-slide-gesture/64035>\
**Category:** ionic-v3\
**Created:** [September 20, 2016, 11:28pm UTC](https://forum.ionicframework.com/t/how-to-disable-slide-gesture/64035 "2016-09-20T23:28:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankushagg93](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ankushagg93/32/103254_2.png) [@ankushagg93](https://forum.ionicframework.com/u/ankushagg93)\
**Post date:** [September 20, 2016, 11:28pm UTC](https://forum.ionicframework.com/t/how-to-disable-slide-gesture/64035/1 "2016-09-20T23:28:28Z")

</div>

How can I disable slide gesture to go back to previous page? I just want user to click back if user want to go back to previous page.

---

<div class="post-metadata">

**Author:** ![fishgrind](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/fishgrind/32/103232_2.png) [@fishgrind](https://forum.ionicframework.com/u/fishgrind)\
**Post date:** [September 21, 2016, 12:08am UTC](https://forum.ionicframework.com/t/how-to-disable-slide-gesture/64035/2 "2016-09-21T00:08:58Z")

</div>

in your app.html add

`swipeBackEnabled="false"`

to your ion-nav so it looks like this

`<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>`
