fix: cjk input in calendar and row detail (#4726)

This commit is contained in:
Richard Shiue
2024-02-24 22:55:35 +08:00
committed by GitHub
parent f5cc6521fb
commit 4ca3ba8e08
2 changed files with 10 additions and 2 deletions

View File

@ -302,7 +302,11 @@ class _TitleSkin extends IEditableTextCellSkin {
isDense: true,
isCollapsed: true,
),
onChanged: (text) => bloc.add(TextCellEvent.updateText(text.trim())),
onChanged: (text) {
if (textEditingController.value.composing.isCollapsed) {
bloc.add(TextCellEvent.updateText(text));
}
},
);
}
}