Merge pull request #645 from vector-im/bwindels/fix-mobile-multiline

remove enterkeyhint attribute as it prevents entering newlines on android
This commit is contained in:
Bruno Windels 2022-01-18 10:39:35 +01:00 committed by GitHub
commit 30438846e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,6 @@ export class MessageComposer extends TemplateView {
render(t, vm) {
this._input = t.textarea({
enterkeyhint: 'send',
onKeydown: e => this._onKeyDown(e),
onInput: () => {
vm.setInput(this._input.value);