7 Replies Latest reply on Aug 2, 2011 8:47 AM by SpaghettiCoder

    Virtual keyboard hides itself on first use of setFocus() and requestSoftKeyboard()

    paulhart83 Level 1

      Hello:

       

      Not sure if it's me or AIR, but I am working on an app for the Xoom and one of the features is a text editor that pops open. When it pops open I set focus and request the soft keyboard (obj.setFocus() and obj.requestSoftKeyboard()).

       

      After a fresh build / first launch, the keyboard displays then it hides itself until you tap the text input. Then, from there on out every time I open the text editor it works as expected.

       

      Is there any reason why the keyboard hides itself the first time and then works as expected the second time and beyond?

       

      Is there something I can do?

       

      Thanks

       

      Paul