Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
5.2.1
-
None
-
Qt 5.2.1
QtCreator 3.0.1
OS: Windows 8 Pro 64bits
Description
The top level scrollview handles every mouseWheel events no matter what's inside.
ie.: you can't scroll with mouse wheel in a textarea embedded in a scrollview.
I think that the child views should have priority.
Scroll_wrong_behavior.qml
import QtQuick 2.1 import QtQuick.Controls 1.0 ScrollView { width: 500 height: 400 Rectangle { width : 500 height: 800 gradient: Gradient { GradientStop { position: 0.0; color: "white" } GradientStop { position: 1.0; color: "blue" } } clip: true //Can't scroll with mouse wheel TextArea{ x: 50 y:50 width: 150 height: 100 text: "LongText LongText LongText LongText LongTextLongText LongText LongTextLongTextLongText LongText LongText LongTextLongText LongText LongText LongText LongText LongText LongTextLongTextLongTextLongText" } } }