Virtual Keyboard does not appear while clicking on text field in Android after using iScroll.js plugin
I am new to phonegap and jqTouch, I am using these for developing Android application.
The problem is, the touch event on textfields working fine on iPhone, but not working on Android, nothing happens when we tap on textfield.
Edit: I came to know that the problem is because the iScroll plugin is being used. When I remove this, the functionality works fine, but I need to use this in my application.
Can anyone tell me what is wrong with iScroll and Android textfields?
Tha开发者_运维技巧nks in Advance.
I know the sort of problem you are talking about. When iScroll is being used on a page, it disables the input, select functionality within a form.
It is a known issue and there seem to be a few work arounds out there. Apparently, this is supposed to fix the issue without disabling the iScroll functionality:
In the touchStart function make sure to add the following condition:
if (e.target.tagName != "SELECT")
{
e.preventDefault();
e.stopPropagation();
}
精彩评论