mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-25 21:01:54 +08:00
🐛 Prevent stuck drag state when opening native emoji picker
This commit is contained in:
parent
a4d622837a
commit
5ec770ad5e
@ -339,7 +339,8 @@ export const Graph = ({
|
||||
};
|
||||
|
||||
useEventListener("keydown", (e) => {
|
||||
if (e.key === " ") setIsDraggingGraph(true);
|
||||
if (e.key === " " && !e.metaKey && !e.ctrlKey && !e.altKey && !e.shiftKey)
|
||||
setIsDraggingGraph(true);
|
||||
});
|
||||
useEventListener("keyup", (e) => {
|
||||
if (e.key === " ") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user