added emoji focus check to prevent triggering shortcuts (#1056)
This commit is contained in:
parent
5ef1596d65
commit
6c7acf9a95
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user