You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Anton Bondarenko <di...@mvbs.ru> on 2015/12/27 10:24:22 UTC

disable softkeyboard in some text inputs

hello Appache and developers.
i'm in despair. i need to disable softkeyboard opening on android and ios
for some inputs on focusIn event. But methods "needsSoftKeyboard = false",
"event.preventDefault()" on SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATING
and SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE,
"softKeyboardInputAreaOfInterest = new Rectangle(0,0,0,0)" didn't work.
im using default skin spark.skins.mobile.StageTextInputSkin with
spark.components.supportClasses.ScrollableStageText
or spark.components.supportClasses.StyleableStageText

Thanks, for your attention.
ps Happy New Year!
-----------------------------------
Best Regards, Anton B.