Fix: auto enter edit mode for text field. ()

* chore(): initial commit to make AppFlowy Work

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>

* fix: , fix auto-entering edit mode

Make text field request for focus when popover changes.

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>

* Update section.dart

* Update input_service.dart

* Update input_service.dart

* Update input_service.dart

---------

Signed-off-by: not-shoyo <akheelsaajid@gmail.com>
This commit is contained in:
Akheel Muhammed 2023-03-27 10:17:22 +05:30 committed by GitHub
parent f40d1a9a96
commit 5afdb5de35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
frontend/appflowy_flutter/lib
plugins/database_view/grid/presentation/widgets/header
workspace/presentation/home/menu/app/section

@ -147,6 +147,8 @@ class _FieldNameTextFieldState extends State<_FieldNameTextField> {
widget.popoverMutex.listenOnPopoverChanged(() {
if (focusNode.hasFocus) {
focusNode.unfocus();
} else {
focusNode.requestFocus();
}
});

@ -58,7 +58,6 @@ class ViewSection extends StatelessWidget {
.read<ViewSectionBloc>()
.add(ViewSectionEvent.moveView(oldIndex, index));
},
ignorePrimaryScrollController: true,
children: children,
);
}