From 55d2d3a315224f3960a740aa98b53e40f2f6a9a1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 3 Jan 2017 21:19:28 +0100 Subject: Mouseproxy to fix the scrolling behaviour. The webview simply no longer gets scroll events. --- components/package/contents/ui/SingleMailView.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'components') diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index b44659f9..41c75224 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml @@ -99,6 +99,7 @@ Item { ListView { + id: listView anchors { top: subjectBar.bottom left: parent.left @@ -124,6 +125,14 @@ Item { } delegate: mailDelegate + + //Intercept all scroll events, + //necessary due to the webengineview + KubeFramework.MouseProxy { + anchors.fill: parent + target: listView + forwardWheelEvents: true + } } Component { id: mailDelegate -- cgit v1.2.3