Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8050341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:04:14+00:00 2026-06-05T07:04:14+00:00

On ios, the TextInput makes weirdness. The following code: <s:TextInput id=password width=100% displayAsPassword=true needsSoftKeyboard=true

  • 0

On ios, the TextInput makes weirdness. The following code:

        <s:TextInput id="password" width="100%" displayAsPassword="true"
                     needsSoftKeyboard="true" 
                     prompt="Password"  
                     softKeyboardType="default"
                     returnKeyLabel="done"
                     autoCorrect="false"
                     skinClass="spark.skins.mobile.TextInputSkin"
                     />

When I select the textInput, the prompt disappears as expected but the first character is auto selected. When the second key is pressed, the first character is removed. This only happens when the first character is typed and the field has a prompt message. “autoCorrect” does not seem to do anything.

Does anyone know of a workaround to this issue? I looked at the SkinnableTextBase class but can’t find any guilty code.

This issues started with Flex 4.6.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:04:15+00:00Added an answer on June 5, 2026 at 7:04 am

    After spending hours in the Flex code, I finally realised that Flex isn’t the problem. The issue happens with Air 3.2 (also in Air 3.3 beta). If I compile with Air 3.1, everything works fine.

    I have tried various things and there seems to be no way I can fix it in Air 3.2 +. I checked other projects of mine and it seems like all my applications compiled with Air 3.2 have a similar issue 🙁

    [UPDATE]

    The problem is somewhere in SkinnableTextBase.as in Flex SDK.

    When textDisplay_changeHandler(event:Event) is called, invalidateSkinState() causes the problem. If you set the skin’s state to nothing (“”), it works:

    skin.currentState = "";
    invalidateSkinState();
    

    The problem is that the theme doesn’t update properly (and it’s a h@ck).

    If you set “showPromptWhenFocused” to false in your CSS, the problem doesn’t happen; the only side effect is that the prompt disappears when you have the textInput selected.

    s|TextInput
    {
        skinClass:ClassReference("spark.skins.mobile.TextInputSkin");
        showPromptWhenFocused: false;
    }
    

    Hope this helps someone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

iOS beginner here. I'm using the following code to save my facebook accessToken and
iOS beginner here. I have the following code: [facebook authorize:nil delegate:self]; NSString *string1=[facebook accessToken];
Under iOS 5, I encounter the following problem : the following code is called
Since iOS 5.1 was released, the default for showing the Master view controller in
Is iOS using some form of dirty region rendering by default while rendering applications?
my language is not supported by iOS by default, so unicode is not an
IOS/IB Question - To clarify my question I'll use the following example. I created
bool ios::eof ( ) const; According to the library, The function returns true if
iOS how can I package reusable code in a reusable UI widget? Like a
My iOS app is supposed to perform the following two tasks at the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.