I have a browser component with a pdf viewer inside it. By default, both the browser component and pdf viewer come with their vertical scrolls. I want to disable the the scroll bar on the browser component. I have tried setNativeScrollingEnabled(false)
and it was not helpful. @Francesco Galgani suggested to me https://stackoverflow.com/a/18850181/1277576 but then the CN1 CSS file does not recognize the CSS in that link. Any ideas?
I have managed to solve the issue by adding this code to my webpage css:
body{
height: 100%;
overflow-y: hidden;
position: fixed;
width: 100%;
padding: 0;
margin: 0;
}