Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Iphone : Go button does not close the keyboard with Data filter #3303
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.
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.