We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371a48b commit b84533cCopy full SHA for b84533c
1 file changed
src/components/PanelGrid/PanelGrid.tsx
@@ -332,8 +332,9 @@ export function PanelGrid({
332
requestAnimationFrame(() => { composingRef.current = false; });
333
}}
334
onKeyDown={(e) => {
335
- // Also check e.key !== 'Process' for additional IME detection
336
- if (e.key === 'Enter' && !e.shiftKey && !composingRef.current && e.key !== 'Process') {
+ // 'Process' key indicates IME is handling the input
+ if (e.key === 'Process' || composingRef.current) return;
337
+ if (e.key === 'Enter' && !e.shiftKey) {
338
e.preventDefault();
339
handleCreate(inputCommand || undefined);
340
}
0 commit comments