diff options
author | Markus Koivisto <markus@vaadin.com> | 2016-04-05 16:08:09 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-05 16:13:17 +0300 |
commit | dffe1597cd97f2bbbd8300773cb99302aa9783e5 (patch) | |
tree | 5d6b7eefa3ba28f009ab2c85b08e813c78847f7c /client | |
parent | 4bce5d542c79bc914eb28be3d06678962bc5b744 (diff) | |
download | vaadin-framework-dffe1597cd97f2bbbd8300773cb99302aa9783e5.tar.gz vaadin-framework-dffe1597cd97f2bbbd8300773cb99302aa9783e5.zip |
Refresh grid body after resize (#19664)
Change-Id: I8531f9d39aaa5854108e1bee9db121b0e54be770
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/widgets/Grid.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java index c4e3491992..db194f9b60 100644 --- a/client/src/com/vaadin/client/widgets/Grid.java +++ b/client/src/com/vaadin/client/widgets/Grid.java @@ -8491,6 +8491,11 @@ public class Grid<T> extends ResizeComposite implements if (isEditorActive()) { editor.updateVerticalScrollPosition(); } + + // if there is a resize, we need to refresh the body to avoid an + // off-by-one error which occurs when the user scrolls all the + // way to the bottom. + refreshBody(); } }); } |