How to disable scrolling past the top/bottom/left/right in a QWebEngineView rendered page ?
Unsolved
QtWebEngine
-
Hello
Using QT 5.11 installed with homebrew on Mac OS 10.12.6
Using a QWebEngineView, there's an annoying scrolling when going up the top corner of the page, or down the bottom of the page, etc.
Example :
Is there a setting to remove that slow scrolling past the borders of the page ?
Thanks !
Geoffroy
-
Hi There:
Do you find out the solution? I'm facing the same problem with Qt 5.13.1.Cheers
-
Hi There:
I have the same problem and I use Qt5.14.2 /macOS Monterey 12.1.
I found a solution ,I set the html css propertyoverscroll-behavior: none;
that work for me.hope it helpful.
-
This worked for me:
web_view.page().settings().setAttribute(PySide6.QWebEngineCore.QWebEngineSettings.WebAttribute.ShowScrollBars,False)