How to disable scrolling past the top/bottom/left/right in a QWebEngineView rendered page ?
-
wrote on 8 Aug 2018, 15:22 last edited by
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.
Is there a setting to remove that slow scrolling past the borders of the page ?
Thanks !
Geoffroy
-
wrote on 4 Sept 2018, 08:05 last edited by
Any clue anyone ?
I haven't found any solution to that problem yet.Thanks in advance !
-
wrote on 21 Feb 2019, 16:31 last edited by
Hallo,
do you have a solution? i have the same problem and i use Qt5.6.2
Thank you
-
wrote on 22 Feb 2019, 10:39 last edited by
Unfortunately no, I haven't found any solution...
-
wrote on 30 Oct 2019, 00:05 last edited by
Hi There:
Do you find out the solution? I'm facing the same problem with Qt 5.13.1.Cheers
-
wrote on 30 Oct 2019, 07:34 last edited by
No :( I haven't found any solution, living with it at the moment...
-
wrote on 5 May 2020, 05:49 last edited by
Did anyone get hold of this one ? I am also facing the same issue.
-
wrote on 5 May 2020, 07:51 last edited by
Nope, unfortunately....
-
wrote on 21 Jan 2022, 06:47 last edited by cn_will_unified
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.
-
wrote on 29 Mar 2023, 20:51 last edited by Matty from the Cape
This worked for me:
web_view.page().settings().setAttribute(PySide6.QWebEngineCore.QWebEngineSettings.WebAttribute.ShowScrollBars,False)