From 9b7ff375b2e0ee7b37bcc7a6706987c8495ceaf0 Mon Sep 17 00:00:00 2001 From: Vedant Pandey Date: Fri, 1 Sep 2023 20:28:21 +0530 Subject: [PATCH] fix: trigger option selection on tap down (#2915) * fix: trigger option selection on tap down * chore: add TODO comment --------- Co-authored-by: Richard Shiue <71320345+richardshiue@users.noreply.github.com> --- .../widgets/row/cells/select_option_cell/extension.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/extension.dart b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/extension.dart index ea3816dd53..6e25de23b5 100644 --- a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/extension.dart +++ b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/select_option_cell/extension.dart @@ -168,7 +168,8 @@ class SelectOptionTagCell extends StatelessWidget { ...children, ], ), - onTap: () => onSelected(option), + // TODO(richard): find alternative solution to onTapDown + onTapDown: (_) => onSelected(option), ), ); }