mercredi 20 novembre 2019

Manually trigger keyboard on IOS devices (via javascript)

I encountered the following issue:

I have input in modal window and want to trigger keyboard once modal is open, example:

HTML:
<input type="search" />

JS:
didOpen () {
    ...

    input.focus();

    ...
},

but on IOS devices keyboard isn't opened. Maybe you know some workaround to implement it?




Aucun commentaire:

Enregistrer un commentaire