Html Input Loses Focus On Samsung Android When Virtual Keyboard Appears
I have the problem of losing focus on an input element on a Samsung Galaxy Tab A (Android 7.0) with a html5 web application. It seems to be a problem in android, as on windows 10 o
Solution 1:
It's an Android issue losing focus due to the resize()
event.
Have you tried something like this for your resize functionality if something is not in focus:
$(window).bind('resize', function() {
if ($("input").is(":focus")) {
// Nothing will happen
} else {
// Other resize functions
}
});
Post a Comment for "Html Input Loses Focus On Samsung Android When Virtual Keyboard Appears"