Empty TextField(input) length

Hi guys,

I keep having this “weird” problem.

If i add the TextField(input) which is multiline and on FocusEvent.FOCUS_IN event trace it’s length, when it’s initially empty it keeps returning length “1” and that one character is whitespace " ". I don’t have this problem when TextField(input) is set to singleline.

Did anyone had similar issue or maybe know where is the the problem and how to solve it?

Thanks in advance,
Best regards