From 51fba512d36aa113c3cb89622ef1f23d1c24e8b5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 2 Mar 2021 18:18:31 -0500 Subject: Fix enter key causing duplicate text when typing using an IME (#1477) --- ext/js/display/search-display-controller.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/js/display') diff --git a/ext/js/display/search-display-controller.js b/ext/js/display/search-display-controller.js index bf75e928..cabdf1b2 100644 --- a/ext/js/display/search-display-controller.js +++ b/ext/js/display/search-display-controller.js @@ -171,6 +171,7 @@ class SearchDisplayController { } _onSearchKeydown(e) { + if (e.isComposing) { return; } const {code} = e; if (!((code === 'Enter' || code === 'NumpadEnter') && !e.shiftKey)) { return; } -- cgit v1.2.3