mirror of https://github.com/zulip/zulip.git
emoji_picker: Stop propagating enter keypress to message.
Similar to emoji_picker.process_keypress, process_enter_while_filtering should have a stopPropagation.
This commit is contained in:
parent
9ebb3f06b3
commit
c2d45e4cf7
|
@ -309,6 +309,7 @@ function is_status_emoji(emoji) {
|
|||
function process_enter_while_filtering(e) {
|
||||
if (keydown_util.is_enter_event(e)) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
const $first_emoji = get_rendered_emoji(0, 0);
|
||||
if ($first_emoji) {
|
||||
if (is_composition($first_emoji)) {
|
||||
|
|
Loading…
Reference in New Issue