diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2021-05-20 11:18:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 11:18:16 +0300 |
commit | 49b2ec6b506b441226200641916f4b9220a8ced8 (patch) | |
tree | 0741caa17f24b968c80cc21ffccce512d763212f /client | |
parent | 786627a89595b0fed8e7eccfc5c0ef25ac9b2218 (diff) | |
download | vaadin-framework-49b2ec6b506b441226200641916f4b9220a8ced8.tar.gz vaadin-framework-49b2ec6b506b441226200641916f4b9220a8ced8.zip |
Trigger repositioning after full refresh of current details. (#12312)
Fixes #12310
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/connectors/grid/DetailsManagerConnector.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/DetailsManagerConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/DetailsManagerConnector.java index 7e7389e65d..5290effdfa 100644 --- a/client/src/main/java/com/vaadin/client/connectors/grid/DetailsManagerConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/grid/DetailsManagerConnector.java @@ -634,6 +634,12 @@ public class DetailsManagerConnector extends AbstractExtensionConnector { boolean newOrUpdatedDetails = refreshRange(availableAndVisible); + // the update may have affected details row contents and size, + // recalculation and triggering of any pending navigation + // confirmations etc. is needed + triggerDelayedRepositioning(availableAndVisible.getStart(), + availableAndVisible.length()); + markDetailsAddedOrUpdatedForDelayedAlertToGrid(newOrUpdatedDetails); } |