Skip to main content

Posts

Showing posts from March, 2017

Ionic1 scrolling bounce effect not working in android

I faced a weird problem in my recent ionic1 app. App is a social network that shows news feed. When I tested in browsers scrolling was smooth and when end of list is reached ionic's bouncing effect shows up. But running the app in android do not show any bouncy effects instead its just a "hard scrolling". After reading the docs I realized that bouncy effect is disabled in android by default so i have to add has-bouncing="true" in ion-content . So I added it <ion-content class="has-header" has-bouncing="true"> But still I didn't  get bouncy effect on end of scroll. It was same "hard scrolling" that just stops when end of list is reached without showing any effect. To solve this issue we have to add overflow-scrolling="false" in our ion-content along with has-bouncing="true" <ion-content class="has-header" overflow-scroll="false" has-bouncing="true">