haxeui / haxeui-html5

The HTML5 backend of the HaxeUI framework -
http://haxeui.org
MIT License
28 stars 14 forks source link

TextArea can't display the new line symbol #20

Closed R3D9477 closed 4 years ago

R3D9477 commented 7 years ago

Expected Behavior

Must be added the new line after key "Enter" was pressed.

Current Behavior

Will add a whitespace instead of new line. --upd: also if I try to paste text with several lines:

asdasd
asdas
asd

then it will be displayed as asdasd asdas asd 1

Test app / minimal test case

Sample available here.

Your Environment

Haxe 3.4.2-1 Linux Mint 18.1 x64 Firefox 52.0.1 haxeui-core from git haxeui-openfl from git

Thanks.