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

Strange TextField Behavior in Android App

Explorer ,
Apr 25, 2017 Apr 25, 2017

Copy link to clipboard

Copied

I display a MovieClip from an SWC made in Adobe Animate which contains an editable multiline Textfield.

On load i prefill it with some text. Now, when testing my App through AIR Debug Launcher everything works fine.

However, when testing on my Android phone, the TextField gets completely buggy:

Prefilled this:

Screen Shot 2017-04-25 at 21.21.40.png

Then I completely remove the text by either selecting or deleting via soft keyboard.

Now, when I start entering new text, suddenly the word "Enter" re-appeares behind the new text:

Screen Shot 2017-04-25 at 21.23.02.png

It gets even worse the more you type. Characters start swapping altogether.

It actually seems to be a rendering issue, since simple ignoring what is actually displayed achieves correct results.

There is really nothing special with this TextField, no events, simply writing/reading the text-property on saving/loading.

There's also another single line TextField in the same MovieClip which behaves normal.

Any idea what may cause this issue?

UPDATE

I just changed from GPU to CPU mode and now the multiline text behaves normal while single line one is weird

TOPICS
Development

Views

264

Translate

Translate

Report

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
Explorer ,
Apr 26, 2017 Apr 26, 2017

Copy link to clipboard

Copied

LATEST

Okay, after investigating further, I found out what the problem is.

It's not about GPU/CPU or multiline/singleline.

It's the Google GBoard soft keyboard with suggestions enabled, causing this issue.

I created an issue here containing steps to reproduce:

Tracker

Are you able to reproduce this in your apps?

Votes

Translate

Translate

Report

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