0

I focus to an input in my web-project. It works fine in web-browsers.

$("#my-search-input").focus();

When I test it in my mobile-browser (Chrome/Android), it opens keyboard caps-lock...which is not good for my AJAX-based application.

What is the reason for this and what is the most proper way to ensure keyboard will not be caps-lock?

Thank you.

tolga
  • 2,462
  • 4
  • 31
  • 57
  • its because you have auto-capitalize first letter setting enabledon your device.. theres nothing you can do currently to prevent this... well besides using a custom css/js keyboard thats a dom element instead of the native one – mike510a Aug 05 '17 at 13:54
  • take a look at this answer for a solution https://stackoverflow.com/questions/8762431/js-based-on-screen-keyboard-for-browser-like-on-cellphones-and-tablets – mike510a Aug 05 '17 at 13:56

0 Answers0