Fixes #2754
This commit is contained in:
parent
d432bab73a
commit
7409668a5d
@ -12,6 +12,7 @@
|
|||||||
- #2733: Fix OMEMO race condition related to automatic reconnection and SMACKS
|
- #2733: Fix OMEMO race condition related to automatic reconnection and SMACKS
|
||||||
- #2733: Wait for decrypted/parsed message before queuing to UI
|
- #2733: Wait for decrypted/parsed message before queuing to UI
|
||||||
- #2751: Media not rendered when Converse runs in a browser extension
|
- #2751: Media not rendered when Converse runs in a browser extension
|
||||||
|
- #2754: Navigation keys doesn't work anymore into chat input message
|
||||||
- #2781: Flashing error when connecting to a room
|
- #2781: Flashing error when connecting to a room
|
||||||
- #2786: Fix webpack configuration not working on Windows OS
|
- #2786: Fix webpack configuration not working on Windows OS
|
||||||
- #2788: `TypeError` when trying to use `@converse/headless`
|
- #2788: `TypeError` when trying to use `@converse/headless`
|
||||||
|
@ -95,6 +95,12 @@ export default class EmojiDropdown extends DropdownBase {
|
|||||||
super.showMenu();
|
super.showMenu();
|
||||||
setTimeout(() => this.querySelector('.emoji-search')?.focus());
|
setTimeout(() => this.querySelector('.emoji-search')?.focus());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hideMenu () {
|
||||||
|
this.chatview.querySelector('converse-emoji-picker')?.disableArrowNavigation();
|
||||||
|
super.hideMenu();
|
||||||
|
setTimeout(() => this.chatview.querySelector('.chat-textarea')?.focus());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
api.elements.define('converse-emoji-dropdown', EmojiDropdown);
|
api.elements.define('converse-emoji-dropdown', EmojiDropdown);
|
||||||
|
@ -189,7 +189,6 @@ export default class EmojiPicker extends CustomElement {
|
|||||||
this.onEnterPressed(ev);
|
this.onEnterPressed(ev);
|
||||||
} else if (ev.keyCode === converse.keycodes.ESCAPE) {
|
} else if (ev.keyCode === converse.keycodes.ESCAPE) {
|
||||||
u.ancestor(this, 'converse-emoji-dropdown').hideMenu();
|
u.ancestor(this, 'converse-emoji-dropdown').hideMenu();
|
||||||
this.chatview.el.querySelector('.chat-textarea').focus();
|
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
} else if (
|
} else if (
|
||||||
|
Loading…
Reference in New Issue
Block a user