javascript - How to handle differences in iOS and Android Keyboard -
for html/js in mobile browsers, i'm having issue blur events trigger differently in ios , android. in ios, user can click on "done" on native keyboard, hides keyboard , causes focused element blur.
the same, however, not happen when user clicks icon in android hide native keyboard; elements focused keep focus.
is there way listen keyboard hiding , trigger blur on focused element? or there way force android keyboard display "done" button? or there better solution?
maybe solution listen keydown event on input, , check if keypress "enter".
to that, please refer :
Comments
Post a Comment