NTextInput: dont propagate events to avoid dragging panel when selecting text with the mouse.

This commit is contained in:
ItsLemmy
2025-09-20 01:52:57 -04:00
parent 8d942d0782
commit 3853c099d0
3 changed files with 10 additions and 2 deletions
+8
View File
@@ -54,6 +54,14 @@ ColumnLayout {
}
}
// Block mouse events from going through
MouseArea {
anchors.fill: parent
z: -1 // Place behind the TextField
acceptedButtons: Qt.AllButtons
propagateComposedEvents: false
}
TextField {
id: input