]> source.dussan.org Git - vaadin-framework.git/commit
Update DOM and update escalator row count in the correct order (#19442)
authorArtur Signell <artur@vaadin.com>
Fri, 2 Sep 2016 05:19:35 +0000 (08:19 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Mon, 5 Sep 2016 09:55:59 +0000 (09:55 +0000)
commit83a1b8a0961cc9b2d43e01757530cefd035b0a22
tree894da0b70ae36f836f9a8115a3876df6350f0c4b
parente0c1f91a3d6d1884e07ce8d1ba957aff6a9bf29a
Update DOM and update escalator row count in the correct order (#19442)

If you show a column when Grid has no horizontal scrollbar, and is scrolled
all the way down, and the number of visible rows is slightly more than N then
Escalator will adjust the row count when the scrollbar is shown so that N-1
rows are visible. During this operation, the DOM must be updated for the new
column.

Change-Id: I0b6c845f96a57be1d64ef4e735aa2f77efbe589a
client/src/main/java/com/vaadin/client/widgets/Escalator.java
uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnVisibilityTest.java