QML WebEngineView elements integrate in page and scroll



  • Hello, there is a page where the web element is mounted in this page, but it does not fit the entire area, when you try to scroll, nothing happens in the element area. Everything works when to scroll through the green area (all in the example). The question is how to catch (handle) the WebEngineView focus?

    if scroll green region = all is well
    if mouse cursor in yellow region = does not scroll

    0_1550944456213_webScroll.jpg

    calculation web elements

     onLoadingChanged: {
                        webView.runJavaScript(
                                    "document.documentElement.scrollHeight;", function (i_actualPageHeight) {rootArticleFull.heightArticle = i_actualPageHeight; });
                    }