mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
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:
commit
30438846e9
@ -30,7 +30,6 @@ export class MessageComposer extends TemplateView {
|
|||||||
|
|
||||||
render(t, vm) {
|
render(t, vm) {
|
||||||
this._input = t.textarea({
|
this._input = t.textarea({
|
||||||
enterkeyhint: 'send',
|
|
||||||
onKeydown: e => this._onKeyDown(e),
|
onKeydown: e => this._onKeyDown(e),
|
||||||
onInput: () => {
|
onInput: () => {
|
||||||
vm.setInput(this._input.value);
|
vm.setInput(this._input.value);
|
||||||
|
Loading…
Reference in New Issue
Block a user