Flex-Air mobile TextInput cursor starts in the middle of a TextField on iOS -
i developing air application mobile devices. during registration process have textinput fields.
on devices everthing works fine on ios cursor , input text placed somewhere in middle of textinput - think @ point user clicks field...
can avoid behaviour?
thanks,
christian
seems textinputskin makes problem...
s|textinput { skinclass: classreference("spark.skins.mobile.textinputskin"); contentbackgroundcolor: #807f7f; color: #ffffff; fontsize: 32; fontfamily: ggstandardfont; fontweight: normal; }
i've experienced similar issue seemed stem using custom font textinput.
setting font family websafe font (ie arial) when editing textinput helped. reset font afterwards.
eg. (in flex)
softkeyboardactivating="setstyle('fontfamily', 'arial')" softkeyboarddeactivating="setstyle('fontfamily', 'mycustomfont')"
Comments
Post a Comment