jhonny thio wrote:
>
> I have tried <textarea>.setOverflow("auto"), but this command doesn't
> work.
>
> Maybe I must tell again about my problem...
> Every I pressed enter in my textfield, the textfield.value will move to
> textarea.
> If the textarea.value has bigger than the textarea size, will be shown a
> scroll bar.
> My problem is although there is a scroll bar, but the focus of the
> textarea still in a first line..
> so if I want read the newest line, I must scroll manual the focus to the
> the most bottom line.
>
> so how I can make my textarea always focus to the new line?
>
>
Hi, I have the same problem. How to scroll to bottom.
This trick (working in pure js+html):
<textarea>.setScrollTop(<textarea>.getScrollHeight());
should works, but it does not.
Have you got any answer?
BR
Dominik
--
View this message in context:
http://www.nabble.com/Memo-autoscroll-and-chat-application-tp18467866p18483601.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel