Skip to content

Commit

Permalink
Disable bouncing when customTabs shows (#397)
Browse files Browse the repository at this point in the history
After ionic v3, when setting deafult page as customTabs, when scroll over page to top or bottom will happen boucing.
insert no-bounce to tabs.html in <ion-content> to <ion-content no-bounce> will disable bouncing if cordova confin.xml not help the feature.

Signed-off-by: isaac <im.isaacjoe@gmail.com>
  • Loading branch information
poting-lin authored and shprink committed Feb 8, 2018
1 parent bdf4d1f commit 9ae02cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/tabs/tabs.html
Expand Up @@ -4,7 +4,7 @@
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-content>
<ion-content no-bounce>
<ion-tabs
#tabs
[mode]="tabsMode"
Expand All @@ -20,4 +20,4 @@
[rootParams]="item.params"
></ion-tab>
</ion-tabs>
</ion-content>
</ion-content>

0 comments on commit 9ae02cf

Please sign in to comment.