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

View File

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