Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable scrollbar on webview #3534

Closed
dangan-ronpa opened this issue Nov 20, 2015 · 3 comments
Closed

Disable scrollbar on webview #3534

dangan-ronpa opened this issue Nov 20, 2015 · 3 comments

Comments

@dangan-ronpa
Copy link

Seems there's no way to disable scrollbar before dom-ready.
This makes the UI a little ugly.

Another thing will improve UX is page zoom settings before page loaded.

@zcbenz
Copy link
Member

zcbenz commented Nov 23, 2015

I suggest bringing this up in Chromium's issues list, since we need Chromium to implement it before we can add the feature, and if Chromium team doesn't want to add it, there will be no way for us to work on it anyway.

@mnicic
Copy link

mnicic commented Jan 24, 2018

Register "dom-ready" event on a webview element
Then, implement function to insert a CSS styles, something like:
myWebView.insertCSS('html,body{ overflow: hidden !important; }');

@nana-yaw
Copy link

myWebView.insertCSS('html,body{ overflow: hidden !important; }');

Solves it. In my case I just opened a style tag and pasted html,body{ overflow: hidden !important; } and it worked like a charm. Thanks @mnicic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants