I have desktop app in which I have a ScrollView
that contains a ListView
, in which the delegates each contain multiple widgets, including a WebEngineView
:
ScrollView
{
id: myScrollView
anchors.fill: parent;
ListView
{
id: myListView
delegate: Item
{
Rectangle
{
Text ...
Text ...
// other stuff
WebEngineView
{
id: myWebEngineView
Component.onCompleted:
{
loadHtml(model.modelData.someHTMLData);
}
}
}
}
}
}
The problem I am having is with scrolling. On Mac, if I use the touchpad to scroll, the ListView
only scrolls if the mouse is hovered over one of the non-WebEngineView
widgets.
I suspect the WebEngineView
widgets are trapping the mouse messages but I cannot find a way stop this from happening. How can I do this?