Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Input textfield, need to press twice on iOS, and drops down a line w/ multiline

Engaged ,
Apr 02, 2012 Apr 02, 2012

I think I have just ignored this for a while in my app.

First)

On iOS, the keyboard and curser don't always come up the first time I press an input textfield in my app. Once I press it a second time, it works normally throughout the app.

Or, if you do a longer press on it, it will work that first time as well.

It's almost like, if you do to quick of a tap the first time you use it, it doesn't recognize it... but it does recognize the quick tap once the keyboard has been initialized at least once within the app.

This does not happen on Android or the blackberry playbook.

-Input textfield

-'AntiAlias for readability'

-Size 40pt

-Single line

-Asset is created in Flash IDE, not by code.

Second Issue I have always ignored)

When I press into a multiline textfield for the first time, It always drops down a line, it happens on iOS, android, and playbook

using Multiline no wrap. and there is no blank space or returns in the textfield (again, asset was created in the flash IDE)

thanks

TOPICS
Development
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 04, 2012 Apr 04, 2012

Could stageText solve this for you? Although its a pain because it has that same issue as webView where its not in the display object list so it just sits over the top of everything.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 06, 2012 Apr 06, 2012

Thanks Mark, your right that would probably work properly. It's in a contact page and doesn't bother me much. If it gets denied or someone complains, I will troubleshoot it more and try stageText. For now I think I'll leave it alone. I'll post an update in the future.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 17, 2012 May 17, 2012
LATEST

So I never bothered to look into this, but I just stumbled upon one of the answers.

When a multiline textfield is created in Flash, for some reason it drops down a line when you first click or press into it.

As a work around, when the item is first created just call

textFeild.text="";

That will blank out the random space it seems to be creating.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines