We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2889d commit c207b46Copy full SHA for c207b46
ui/StatusQ/src/StatusQ/Controls/StatusBaseInput.qml
@@ -371,6 +371,11 @@ Item {
371
property string previousText: text
372
property var keyEvent
373
374
+ // This workaround prevents entering new line on mobile when it's not desired.
375
+ // Qt.ImhSensitiveData prevents entering new line, instead Keys.returnPressed
376
+ // is emitted and can be handled in a regular way.
377
+ inputMethodHints: Utils.isMobile && !multiline ? Qt.ImhSensitiveData : Qt.ImhNone
378
+
379
topPadding: root.multiline ? 0 : root.topPadding
380
bottomPadding: root.multiline ? 0: root.bottomPadding
381
width: flick.width
0 commit comments