aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2020-05-13 18:44:33 +0300
committerGitHub <noreply@github.com>2020-05-13 18:44:33 +0300
commita967bd7fdcde8dce5bbf3c27110d353064a9d426 (patch)
tree2bd0999e7fb0d3d67ef1290e65044d1d76e6b9e6 /compatibility-client
parent66a8fb1c384afd9590aa2327ddd1d238c771e474 (diff)
downloadvaadin-framework-a967bd7fdcde8dce5bbf3c27110d353064a9d426.tar.gz
vaadin-framework-a967bd7fdcde8dce5bbf3c27110d353064a9d426.zip
Fix indexing issue in Compatibility Grid resize when scrolled to bottom. (#12003)
Issue #11893, cherry-pick from #11984
Diffstat (limited to 'compatibility-client')
-rwxr-xr-xcompatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
index 3aafe416fc..6af497efb3 100755
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
@@ -3720,6 +3720,7 @@ public class Escalator extends Widget
visualRowOrder.getLast()) + 1;
moveAndUpdateEscalatorRows(Range.withOnly(0),
visualRowOrder.size(), newLogicalIndex);
+ updateTopRowLogicalIndex(1);
}
}
}