summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-03-03 16:14:33 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-04-05 15:29:50 +0000
commit822d72fef7e876a57efaffeb885f21548792fa53 (patch)
tree8b8795c1b79d43edca964bc353cd24a558b1b028
parentdffe1597cd97f2bbbd8300773cb99302aa9783e5 (diff)
downloadvaadin-framework-822d72fef7e876a57efaffeb885f21548792fa53.tar.gz
vaadin-framework-822d72fef7e876a57efaffeb885f21548792fa53.zip
Fix Grid to not refresh already focused cell (#19653)
This removes a row repaint when a cell that already has focus is clicked again. Change-Id: I3e4f4f1aec49e2128cd47f7c0b1b1bb4611fbb04
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index db194f9b60..cf9456d8a8 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -2527,7 +2527,6 @@ public class Grid<T> extends ResizeComposite implements
if (rowIndex == rowWithFocus
&& cellFocusRange.contains(columnIndexDOM)
&& container == this.containerWithFocus) {
- refreshRow(rowWithFocus);
return;
}