Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-27 10:30:04 +08:00
parent 7276cde48a
commit cf44036589
3 changed files with 5 additions and 5 deletions

View File

@@ -138,9 +138,10 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
}
}
Future<void> hidePanel() async {
Future<void> hidePanel([_]) async {
if (focusNode.hasFocus) {
await Future.delayed(const Duration(milliseconds: 100));
if (!mounted) return;
focusNode.unfocus();
}
updateInputView(isReadOnly: false);