Open fionicholas opened 9 months ago
Were you able to find any method?
Try this
<!DOCTYPE html>
<html>
<head>
<title>Camera Access Demo</title>
<style>
body {
margin: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#camera {
width: 100%;
height: 100%;
}
</style>
</head>
webViewController.addScriptToExecuteOnDocumentCreated( """ document.addEventListener('DOMContentLoaded', () => { document.querySelector('body').style.overflow='scroll'; var style=document.createElement('style'); style.type='text/css'; style.innerHTML='::-webkit-scrollbar{display:none}'; document.getElementsByTagName('body')[0].appendChild(style)}); """ );
Hi @jnschulze ,i have implement the webview windows, but i need to hide the scrollbar on Web view
Any suggestion from you guys, for hide the scrollbar ?