Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: cjk input in calendar and row detail (#4726)
Richard Shiue4ca3ba8e08ac
diff --git a/frontend/appflowy_flutter/lib/plugins/database/calendar/presentation/calendar_event_editor.dart b/frontend/appflowy_flutter/lib/plugins/database/calendar/presentation/calendar_event_editor.dartindex cdef15c4d0..5258e32d62 100644--- a/frontend/appflowy_flutter/lib/plugins/database/calendar/presentation/calendar_event_editor.dart+++ b/frontend/appflowy_flutter/lib/plugins/database/calendar/presentation/calendar_event_editor.dart@@ -268,7 +268,11 @@ class _TitleTextCellSkin extends IEditableTextCellSkin {textStyle: Theme.of(context).textTheme.bodyMedium?.copyWith(fontSize: 14),focusNode: focusNode,hintText: LocaleKeys.calendar_defaultNewCalendarTitle.tr(),- onChanged: (text) => bloc.add(TextCellEvent.updateText(text)),+ onChanged: (text) {+ if (textEditingController.value.composing.isCollapsed) {+ bloc.add(TextCellEvent.updateText(text));+ }+ },);}}diff --git a/frontend/appflowy_flutter/lib/plugins/database/widgets/row/row_banner.dart b/frontend/appflowy_flutter/lib/plugins/database/widgets/row/row_banner.dartindex 8cf9f868b7..9f620118e9 100644--- a/frontend/appflowy_flutter/lib/plugins/database/widgets/row/row_banner.dart+++ b/frontend/appflowy_flutter/lib/plugins/database/widgets/row/row_banner.dart@@ -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));+ }+ },);}}