Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QML: WebEngineView can't be scrolled in ScrollView (Flickable too)
Forum Updated to NodeBB v4.3 + New Features

QML: WebEngineView can't be scrolled in ScrollView (Flickable too)

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 235 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S0ulM1keS Offline
    S0ulM1keS Offline
    S0ulM1ke
    wrote on last edited by S0ulM1ke
    #1

    I have some inconvenience with WebEngineView. I've placed it like other element in my scroll view. It's just need to play some YouTube video.
    So, when I scroll through my ScrollView, when mouse is on WebEngineView area it won't scroll anymore.

    ApplicationWindow {
        width: 640
        height: 480
        visible: true
        title: qsTr("Hello World")
        
        ScrollView
        {
            id: myScrollView
            anchors.fill: parent;
            Rectangle
            {            
                ...
            }
            
            Text ...
            Text ...
            other stuff
            
            WebEngineView
            {
                id: myWebEngineView
                Component.onCompleted:
                {
                    loadHtml(model.modelData.someHTMLData);
                }                
            }
        }
    }
    

    Edit: I actually can sroll on it if I set WebEngineView's enabled = false . But this makes it unclickable, which is not an option.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved