Phonegap - iOS keyboard is not hiding on outside tap of input field
Posted
by
Prasoon
on Stack Overflow
See other posts from Stack Overflow
or by Prasoon
Published on 2014-06-08T07:03:12Z
Indexed on
2014/08/25
16:20 UTC
Read the original article
Hit count: 296
On input text focus, keyboard appears as expected. But when I click outside of the input text, keyboard does not hide. I am using java script and jQuery. With jQueryMobile JS and CSS - page behaves correctly. But for this project we are not using jQueryMobile.
This problem is only with iOS simulator/device. With Android, it's working perfectly fine.
I even tried using document.activeElement.blur();
on outer element click/tap. But then I am unable to focus to input text, because that input text is inside that outer element.
© Stack Overflow or respective owner