diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml index 9847edcf38..c61a1ea0e4 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml @@ -110,7 +110,6 @@ ModalPopup { anchors.top: nameInput.bottom anchors.topMargin: Style.current.bigPadding customHeight: 88 - textField.selectByMouse: true textField.wrapMode: TextEdit.Wrap property bool isValid: false diff --git a/ui/shared/StyledTextArea.qml b/ui/shared/StyledTextArea.qml index 6ab538d154..a5bb8177c0 100644 --- a/ui/shared/StyledTextArea.qml +++ b/ui/shared/StyledTextArea.qml @@ -52,6 +52,7 @@ Item { id: textArea text: "" font.pixelSize: 15 + selectByMouse: true wrapMode: Text.WrapAnywhere placeholderText: inputBox.placeholderText anchors.rightMargin: Style.current.smallPadding @@ -61,19 +62,11 @@ Item { anchors.fill: parent font.family: Style.current.fontRegular.name color: Style.current.textColor - placeholderTextColor: Style.current.darkGrey + placeholderTextColor: Style.current.secondaryText selectionColor: Style.current.primarySelectionColor Keys.onPressed: inputBox.keyPressed(event) } - - MouseArea { - id: mouseArea - anchors.fill: parent - onClicked: { - textArea.forceActiveFocus(Qt.MouseFocusReason) - } - } } TextEdit {