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>
This commit is contained in:
Vedant Pandey 2023-09-01 20:28:21 +05:30 committed by GitHub
parent 18498c0479
commit 9b7ff375b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,8 @@ class SelectOptionTagCell extends StatelessWidget {
...children,
],
),
onTap: () => onSelected(option),
// TODO(richard): find alternative solution to onTapDown
onTapDown: (_) => onSelected(option),
),
);
}