I’m trying to auto focus input field in ionic 5. We had this exact same problem in previous version that we used ( ionic 3 ) that standard directives don’t work at all or don’t work properly … I found the autofocus
directive for ion-input, but the problem is it works like 50% of the times, when it feels like it ( on the device ) … so my question: is there a proper solution to this ( now at least 4 year old ) problem, or do I need to write a hacky directive to this again? Is there a built in directive which will focus the default input ( and pop the keyboard up as it should ) reliably on all platforms?
Thanks!
1 post - 1 participant