0

I have added scrollAssist and autoFocusAssist property in app.module.ts. However it works only for android not for iOS. how to disable bouncing effect of ios in ionic 3?

 IonicModule.forRoot(MyApp,{scrollAssist: false, autoFocusAssist: false});
James Z
  • 12,209
  • 10
  • 24
  • 44
Abhee
  • 73
  • 1
  • 9

2 Answers2

0

You can use this workaround:

.ios {
  <your-screen> {
    .scroll-content {
      -webkit-overflow-scrolling: auto !important;
    }
  }
}

However, This is not recommended because it will disable smooth scroll as well. Read more about it here: https://github.com/ionic-team/ionic/issues/11584

ashfaq.p
  • 5,379
  • 21
  • 35
0

Try this: in config.xml under platform put

 <platform name="ios">
   [....]
   <preference name="webviewbounce" value="false" />
 </platform>
Chris
  • 4,238
  • 4
  • 28
  • 49