We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0e203a + 9f27904 commit 0024bb7Copy full SHA for 0024bb7
1 file changed
src/pods/canvas/use-keyboard-displacement.tsx
@@ -41,7 +41,7 @@ export const useKeyboardDisplacement = () => {
41
// then we return and let the input and textare control it
42
const isInlineEditing =
43
(event.target as any)?.attributes['data-is-inline-edition-on'] !==
44
- undefined ?? false;
+ undefined;
45
if (isInlineEditing || !isKeyboardKey(event.key)) {
46
return;
47
}
0 commit comments