maui
maui copied to clipboard
Remove gesture from page that interferes with accessibility
Description of Change
The code we use to try and auto close the keyboard when clicking off of an entry field causes the UISwitch to not work the first time you interact with it
If you take the following code
<VerticalStackLayout>
<Switch WidthRequest="50"></Switch>
</VerticalStackLayout>
- Turn on VO
- Navigate to switch
- double tap
- nothing happens
- double tap again and now it works fine.
Breaking Change
This breaks the behavior where clicking off an entry closes the keyboard. That behavior was added before XF was even made public so it's questionable code. The main issue here is that we don't have Keyboard APIs that users can use. So, we probably want to couple this with Keyboard APIs for NET8 or examples of how users can tap into the keyboard themselves.