Type: bug
Ionic Version: 2.x beta.3
Platform: all
<ion-content> always contains <scroll-content> which has
scroll-content {
overflow-y: scroll;
}
so the vertical scrollbar is always visible in ion-content.
Suggesttion:
overflow-y to 'auto'<ion-content> should be configurable as in ionic1+1, is there a reason for it being 'scroll' instead of 'auto'?
hi @mpaland I have the same problem I see vertical scroll in all my screens, do you have a work around?
@cesar-oyarzun-m As a workaround you could add the following in the application's app.core.scss:
scroll-content {
overflow-y: auto !important;
}
yeah I did that thanks!!
@iignatov what about just set
overflow-y: hidden;
What potential problem can that cause?
@GitGump I haven't tried it, but I guess that the content will be clipped, i.e. when the content is higher than the screen the overflowing part won't be displayed - _does this sound like a problem?_ :wink:
@iignatov Hey, buddy, that's the thing, I've tried it on emulators, turned out that the overflowing part wouldn't be displayed just like you said and the screen couldn't scroll either.
You can override the CSS to use auto if you wish, but you look momentum scrolling on devices: https://css-tricks.com/snippets/css/momentum-scrolling-on-ios-overflow-elements/
@adamdbradley
What about a platform specific configuration in this case:
.content .scroll-content {
overflow-y: auto;
}
.content-ios .scroll-content {
overflow-y: scroll;
}
So set always to scroll only for ios platform, because as far I can see it's only ios relevant.
I just create a pull request #10431 to set the overflow-y to auto only on desktop platform device.
The bug is still affecting update 3.18.0. Was not it corrected?

i want to implement this type of scrool bar in my ionic app ho to do it
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Most helpful comment
@cesar-oyarzun-m As a workaround you could add the following in the application's
app.core.scss: