Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Iphone : Go button does not close the keyboard with Data filter #3303

Closed
lijumathews opened this Issue · 6 comments

6 participants

@lijumathews

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.
Thanks,
Liju

@rbdcti

+1 ...noticed this issue too

@jaspermdegroot
Collaborator

@toddparker - What do you think about setting focus on the first list item on GO/enter or down arrow?

@toddparker

That seems like a good idea to me. +1

@toddparker

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 jasondscott was assigned
@toddparker

@jasondscott - maybe you can look at making this tweak?

@gseguin gseguin was assigned
@gseguin
Collaborator

Do we even need to focus the first list item? What would be the purpose?

@gseguin gseguin closed this in 336db34
@gseguin gseguin referenced this issue from a commit
@gseguin gseguin Blur the search field on submit -- Fixes #3303
(cherry picked from commit 336db34)
fef41bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.