Skip to content

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.

fix: edit card title not working (#3819)

Richard Shiue993532a2f016
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/board/application/board_bloc.dart b/frontend/appflowy_flutter/lib/plugins/database_view/board/application/board_bloc.dart
index b398dec9e8..d64c154857 100644
--- a/frontend/appflowy_flutter/lib/plugins/database_view/board/application/board_bloc.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database_view/board/application/board_bloc.dart
@@ -112,6 +112,7 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
startEditingRow: (group, row) {
emit(
state.copyWith(
+ isEditingRow: true,
editingRow: BoardEditingRow(
group: group,
row: row,
@@ -130,7 +131,7 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
false,
);
- emit(state.copyWith(isEditingRow: false));
+ emit(state.copyWith(isEditingRow: false, editingRow: null));
}
},
didReceiveGridUpdate: (DatabasePB grid) {