fix emoji-picker key input
This commit is contained in:
parent
41eebfdbda
commit
84267d3ffe
1 changed files with 2 additions and 1 deletions
|
@ -551,7 +551,8 @@ const UI: React.FC = ({ children }) => {
|
|||
|
||||
// @ts-ignore
|
||||
hotkeys.current.__mousetrap__.stopCallback = (_e, element) => {
|
||||
return ['TEXTAREA', 'SELECT', 'INPUT'].includes(element.tagName);
|
||||
console.log(element.tagName);
|
||||
return ['TEXTAREA', 'SELECT', 'INPUT', 'EM-EMOJI-PICKER'].includes(element.tagName);
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue