From 3f5299032733cd1c2cb79026baa70cc7f1face4d Mon Sep 17 00:00:00 2001 From: Livinglist Date: Tue, 4 Jun 2024 22:10:37 -0700 Subject: [PATCH] update. --- lib/screens/search/search_screen.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/screens/search/search_screen.dart b/lib/screens/search/search_screen.dart index cca5f927..3dc4f09f 100644 --- a/lib/screens/search/search_screen.dart +++ b/lib/screens/search/search_screen.dart @@ -46,7 +46,9 @@ class _SearchScreenState extends State with ItemActionMixin { void dispose() { refreshController.dispose(); scrollController.dispose(); - focusNode.dispose(); + focusNode + ..unfocus() + ..dispose(); textEditingController.dispose(); super.dispose(); }