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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -