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),