We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e203a commit 9f27904Copy full SHA for 9f27904
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