Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: ime with command menu

lawvs3bf25a43b0f4
diff --git a/libs/components/editor-plugins/src/menu/command-menu/Container.tsx b/libs/components/editor-plugins/src/menu/command-menu/Container.tsx
index c9911f5c4b..e162613d99 100644
--- a/libs/components/editor-plugins/src/menu/command-menu/Container.tsx
+++ b/libs/components/editor-plugins/src/menu/command-menu/Container.tsx
@@ -175,6 +175,9 @@ export const CommandMenuContainer = ({
if (!isShow) {
return;
}
+ if (event.nativeEvent.isComposing) {
+ return;
+ }
if (types && event.code === 'ArrowUp') {
handleClickUp(event);
return;