Skip to main content
Inspiring
April 25, 2017
Question

Strange TextField Behavior in Android App

  • April 25, 2017
  • 1 reply
  • 312 views

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:

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:

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

This topic has been closed for replies.

1 reply

Inspiring
April 26, 2017

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?