From 6c7acf9a95b9d139c3cea0acd001af082cd10819 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Fri, 28 May 2021 06:39:20 +0200 Subject: [PATCH] added emoji focus check to prevent triggering shortcuts (#1056) --- webroot/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webroot/js/app.js b/webroot/js/app.js index d05906f77..ac18e1bf9 100644 --- a/webroot/js/app.js +++ b/webroot/js/app.js @@ -430,6 +430,7 @@ export default class App extends Component { } else if ( e.target !== document.getElementById('message-input') && e.target !== document.getElementById('username-change-input') && + e.target !== document.getElementsByClassName('emoji-picker__search')[0] && this.state.streamOnline ) { switch (e.code) {