fix: keyboard not show automatically (#4572)

This commit is contained in:
Lucas.Xu 2024-02-01 15:41:14 +08:00 committed by GitHub
parent 20391bfec4
commit ce261c9128
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -191,4 +191,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 8c681999c7764593c94846b2a64b44d86f7a27ac
COCOAPODS: 1.14.3
COCOAPODS: 1.12.1

View File

@ -201,6 +201,9 @@ class _MobileToolbarState extends State<_MobileToolbar>
if (currentSelection != widget.editorState.selection) {
currentSelection = widget.editorState.selection;
closeItemMenu();
if (currentSelection != null) {
_showKeyboard();
}
}
}