sforkowany z mirror/soapbox
fix emoji-picker key input
rodzic
41eebfdbda
commit
84267d3ffe
|
@ -551,7 +551,8 @@ const UI: React.FC = ({ children }) => {
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
hotkeys.current.__mousetrap__.stopCallback = (_e, element) => {
|
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);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue