git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TextArea Cropping Text OnFocusOut


Hi everyone,

Just wondering if any of you guys have encountered this before.

[ testing on apple devies running iOS 10 , 11 / AIR Version 29 ]

When using TextArea component with the default skin - spark.skins.mobile.ScrollingStageTextAreaSkin , it doesn't seem to measure the text correctly if the user adds new lines to the text. 

It works fine when just typing sentences as normal, but if for example, entering an address where the user is clicking enter and adding new lines , it crops the text when the component loses focus.  ( see attached TextArea2.png ) 
It displays OK when the component regains focus.  ( see attached TextArea1.png )

The older skin ( spark.skins.mobile.TextAreaSkin ) doesn't have this issue but it doesn't look as good and it has its own set of issues.

I have tried extending the skin and setting the height explicitly on focus out but no joy.

Any ideas?

Thanks,

Paul




--





*DISCLAIMER: This electronic message together with any attachments is
confidential. If you are not the intended recipient, do not copy, disclose
or use the contents in any way. Please also advise us by return e-mail that
you have received the message and then please destroy. Zutec  Ltd is not
responsible for any changes made to this message and / or any attachments
after sending by Zutec. We use virus scanning software but exclude all
liability for viruses or anything similar in this email or any attachment.*