I have a data filter set on a UL list. On an I phone the keyboard popups when I focus on the filter input and the filter does work as expected when I type letters. The Issue here is that as the form does not have a submit or an action set to the form, the keyboard "GO" button does not close the keyboard. We need to either hit the done button or remove focus from the input element by clicking anywhere in the screen.
I need to be able to close the keyboard on clicking "GO" or remove the button if it does nothing.
+1 ...noticed this issue too
@toddparker - What do you think about setting focus on the first list item on GO/enter or down arrow?
That seems like a good idea to me. +1
The best approach may be to tap into the native form submit so this will work as expected across all platforms. When the firms submits, we cancel that, blur the input and focus on the first list item that's visible. Mapping the Esc or down key is a nice secondary accelerator.
@jasondscott - maybe you can look at making this tweak?
Do we even need to focus the first list item? What would be the purpose?
Blur the search field on submit -- Fixes #3303
(cherry picked from commit 336db34)
Filterable backcompat: Prevent default on generated form submit and b…
…lur input. Fixes #6226.
See 336db34 and #3303.