jquery - Android keyboard appearing and dissapering -


i'm developing e-shop using magento , there small bug in search box on android devices. when user clicks on search box, keyboard appears , disappears after 1 second. page uses jquery "capture" id of search box portion of code follows:

 $('#search').keyup(function () {     #code )}; 

i've tried various saw online didn't work. suggestions though lead fact keyboard looses focus. appreciated.

it's becouse input lose focus. can try force on input field in jquery

$("#search").focus() 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -