fix emoji-picker key input

This commit is contained in:
ewwwwwwww 2022-07-05 11:25:31 -07:00
parent 41eebfdbda
commit 84267d3ffe

View file

@ -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);
};
};