Try CallLater to run that code.

On 12/8/17, 3:35 PM, "pol2095" <pol2...@free.fr> wrote:

>Hello,
>
>when I use "ta.scrollToRange(ta.text.length, ta.text.length)" in a
>spark.components.TextArea on desktop, the scroller doesn't scroll to the
>bottom correctly when a new line is added programmatically, how to fix it
>?
>
>my code :
>-  Main.mxml 
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.of
>code.org%2F37e7qRkCscBBnwSsqiGiaSU&data=02%7C01%7Caharui%40adobe.com%7C341
>32e5740774d8afe6408d53e946196%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7
>C636483729370773035&sdata=ruewGRTIfAgacNvZyeyWrMDUl6KBbrMpRXK0W2uF4u8%3D&r
>eserved=0>  
>
>Thanks
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C34132
>e5740774d8afe6408d53e946196%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36483729370773035&sdata=RoElckZTAOv%2B6ATqujSX7J6PiwtdIiSxYTrcFM59xXs%3D&r
>eserved=0

Reply via email to