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

python - Best design pattern for collection of objects -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -

go - serving up pdfs using golang -