2

I have tried many thing to hide the scrollbar in IOS devices but it's keep re-appearing.

   ::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
}

I come across this solution a lot but it's not solving my problem. Let me know if someone already fixed this.

Meet Shah
  • 21
  • 4

2 Answers2

1

Override the scroll-content, style

.scroll-content {
    overflow-y: hidden !important;                                          
}

and if you are trying to disable ion-list scroll you should try this

div.scroll-content {
    bottom: 0px !important;                                                   
}
Prashant
  • 1,375
  • 2
  • 14
  • 22
  • Hidden also stops the Scrolling. Bottom: 0px; didn't work. I want to scroll but it shouldn't appear on the screen. – Meet Shah Apr 03 '18 at 12:08
0

Hi try the following in your app.scss file

.scroll-content{
    overflow-y:hidden; // if you are trying to hide the vertical scroll
    //overflow:hidden ; will hide both horizontal and vertical scroll
}

Edit 1

scrollbar-y="false" on the <ion-content> Let me know your outcome

Arj 1411
  • 1,395
  • 3
  • 14
  • 36