summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAnthony Guerreiro <anthony@vaadin.com>2014-07-15 16:24:48 +0300
committerAnthony Guerreiro <anthony@vaadin.com>2014-07-29 09:39:28 +0100
commitf7dc719ec5d9ba2c10362f4a175a9d764dc537bb (patch)
tree71b486c3d5589e841b2a8d0a3675baf1dc5238f4 /server
parente5dfe0369cbaa249f690b1c73afc8db1f561ef22 (diff)
downloadvaadin-framework-f7dc719ec5d9ba2c10362f4a175a9d764dc537bb.tar.gz
vaadin-framework-f7dc719ec5d9ba2c10362f4a175a9d764dc537bb.zip
Fix Table stuck scroll position after setting scroll to last page (#14147)
Change-Id: I9c39db5c2ccafd495a1ecc8b28687eeeebe3b6c2
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Table.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Table.java b/server/src/com/vaadin/ui/Table.java
index a8265662ea..82e87eb10d 100644
--- a/server/src/com/vaadin/ui/Table.java
+++ b/server/src/com/vaadin/ui/Table.java
@@ -1513,7 +1513,7 @@ public class Table extends AbstractSelect implements Action.Container,
* position not be updated correctly when the lazy rows are
* finally rendered.
*/
- currentPageFirstItemIndexOnLastPage = indexOnLastPage;
+ currentPageFirstItemIndexOnLastPage = currentPageFirstItemIndex;
}
} else {