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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -