rebels2638 / ScoutingApp2024

Rebel Robotics Scouting App for FRC 2024: CRESCENDO!
https://rebels2638.github.io/ScoutingApp2024/
BSD 4-Clause "Original" or "Old" License
15 stars 2 forks source link

unfocus not being called on dropdown menus on iphones #21

Closed exoad closed 8 months ago

exoad commented 8 months ago

this could be attributed to the requestFocusOnTap which we can disable, but also disables visual confirmation of the tap (maybe wrap it in an inkwell?)

exoad commented 8 months ago

or according to here https://stackoverflow.com/a/76873454

or call

FocusScope.of(context).unfocus(); before showing the dropdownMenu

exoad commented 8 months ago

https://github.com/rebels2638/ScoutingApp2024/blob/63bf1aab98bbf21e6619020745cd1d2aa4fc56f6/lib/blobs/multi_select_blob.dart#L71-L105

exoad commented 8 months ago

fully implemented in https://github.com/rebels2638/ScoutingApp2024/commit/b062343ef3e40e3c8b80dc83af7a8104d583685d