From 67edbfc472e2e16b520792393e615546c73d6771 Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Thu, 9 Sep 2021 20:28:17 +0200 Subject: [PATCH] added unfocus of search text input --- lib/pages/recipes_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages/recipes_page.dart b/lib/pages/recipes_page.dart index 2fb0d15..e9d7c97 100644 --- a/lib/pages/recipes_page.dart +++ b/lib/pages/recipes_page.dart @@ -54,9 +54,11 @@ class RecipesPageState extends State { } return InkWell( onTap: () { + FocusScope.of(context).unfocus(); Navigator.pushNamed(context, "/recipe/view", arguments: pizzaRecipe); }, onLongPress: () { + FocusScope.of(context).unfocus(); showDialog(context: context, builder: (BuildContext context) { return AlertDialog( title: Text(pizzaRecipe.name),