I am developing a sencha touch application for ipad. I'm stuck with one feature: when user sees a screen with text field, I need to focus on that field automatically so that iPad's keyboards shows up (design feature to save time on the flow).
I trid to set focus on input when the screen is being shown. The following example works everywhere except iPad:
So I added special "Set focus" button to test it in ipad and it works. But I got confused with this strange behaviour. Why I can set the focus using the button, but with the painted event in textfield I can't. And is there any way to solve this via painted event?
I would appreciate any help from you! Thank you!