jquery/jquery-mobile — Issue #3557: Search input: Clicking on X button doesn't set focus on input
Author: csaldan
Created: 2012-02-09 14:39:48+00:00
State: open

I am using JQuery Mobile's search input implementation and noticed that on Android devices the focus is not set on the search input after clicking the X button.

Steps to reproduce:
1. On an Android device, Go to JQuery mobile demos page -> Form Elements - > Search Input ( I am using a Lenovo Thinkpad running Android 3.1)
2. On the Search input demo page, scroll down to the first Search input and enter some text
3. Dismiss the keyboard and click on the X button on the right end of the Search input.

Expected Behavior: The cursor is on the Search input and the keyboard comes up

Actual Behavior: The keyboard doesn't come up and the cursor appears on the search input for a second and then disappears.