mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-13 03:11:03 +00:00
chore: remove focus when starting to create a card from the bottom (#6709)
This commit is contained in:
parent
939e28d2e1
commit
f00e1ebf20
@ -40,6 +40,7 @@ class BoardActionsCubit extends Cubit<BoardActionsState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void startCreateBottomRow(String groupId) {
|
void startCreateBottomRow(String groupId) {
|
||||||
|
emit(const BoardActionsState.setFocus(groupedRowIds: []));
|
||||||
emit(BoardActionsState.startCreateBottomRow(groupId: groupId));
|
emit(BoardActionsState.startCreateBottomRow(groupId: groupId));
|
||||||
emit(const BoardActionsState.initial());
|
emit(const BoardActionsState.initial());
|
||||||
}
|
}
|
||||||
|
@ -534,7 +534,9 @@ class _BoardColumnFooterState extends State<BoardColumnFooter> {
|
|||||||
color: Theme.of(context).hintColor,
|
color: Theme.of(context).hintColor,
|
||||||
),
|
),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
setState(() => _isCreating = true);
|
context
|
||||||
|
.read<BoardActionsCubit>()
|
||||||
|
.startCreateBottomRow(widget.columnData.id);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user