Posted 21 February 2023, 8:50 am EST
Hi, I have a problem with the focus in mobiles.
I have a C1 grid with a search and I execute the focus() with JavaScript at load event like this:
busqueda.addEventListener("load", function () {
bsq2 = busqueda.document.getElementById("theSearch2");
bsq2.hidden = false;
bsq2.children[0].children[0].children[0].children[0].focus();
})
That works fine at computer, but in mobile, when the page make the focus, It doesn’t open the keyboard.
¿there’s another way to make a focus to the search div?