Textarea Scrolldown

Hello,
iam using the following piece of code to print out the progress from a background thread - importing files to database.

final ARCsql test=new ARCsql(dm,selectedItemIds,hdd);
        final Refresher refresher = new Refresher();
        refresher.setRefreshInterval(1000);
        refresher.addListener(new RefreshListener() {
            
            @Override
            public void refresh(Refresher source) {
                info.setReadOnly(false);
                info.setValue(test.getOutput().toString());    
                info.setCursorPosition(test.getOutput().length());
                info.setReadOnly(true);
            }
        });
        addExtension(refresher);
        test.start();    

getOutput is a Stringbuilder where i append new tasks(Lines) from the backroundthread. It works instead of one problem.
I want to focus the textarea to the bottom - so you can directly see whats happening now. The Cursor is at the End of the Textarea but the Focus is always on top. Any Ideas?

THX!

Hi Robin,

What version of Vaadin are you using? TextArea seems to scroll down in Vaadin 7.1.8.

Hi!

iam using Version 7.1.8. Tried in different browsers with no success. Cant find the problem in my implementation…

Please
create a ticket
if setting the cursor position explicitly does not trigger scrolling to make that point visible.

Hello,

Ticket #13046 is open… Thank you! Vaadin is great… most of the time…