]> source.dussan.org Git - vaadin-framework.git/commit
Ignores scroll events while update from server is in progress (#11454)
authorJarno Rantala <jarno.rantala@vaadin.com>
Fri, 3 Jan 2014 12:39:58 +0000 (14:39 +0200)
committerVaadin Code Review <review@vaadin.com>
Thu, 9 Jan 2014 06:04:26 +0000 (06:04 +0000)
commit407bdb39f7d87acaf15c399e46baf6d6a858fa6d
tree809d8f1e39bc4ca39e813e19ddd0b8069afe89cc
parente41a2cef9b50d3a63b6bffa0f7777c61f5093492
Ignores scroll events while update from server is in progress (#11454)

When ItemSetChange event occurs, it will recreate the rows in client side.
This will mess up the scroll position in scrollBodyPanel when its content
is removed. This why the onScroll events should be ignored until
the scroll position is reset by lazyScroller.

Change-Id: Ib70e0dd7b730d4745a84742509145658e35d517e
client/src/com/vaadin/client/ui/VScrollTable.java
uitest/src/com/vaadin/tests/components/table/ExpandingContainer.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/table/ExpandingContainerVisibleRowRaceCondition.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/table/ExpandingContainerVisibleRowRaceConditionTest.java [new file with mode: 0644]