summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-11-05 15:33:37 +0200
committerJohn Ahlroos <john@vaadin.com>2012-11-05 15:33:37 +0200
commite5e15b64181d5ecf2400848e6eedc540ac4f4fb1 (patch)
tree123ebd0327f8657fc5d3222e9e2f86d8bcadc710 /client
parent282fbd32a1deb70565be0ed4718c3ee29d26651d (diff)
downloadvaadin-framework-e5e15b64181d5ecf2400848e6eedc540ac4f4fb1.tar.gz
vaadin-framework-e5e15b64181d5ecf2400848e6eedc540ac4f4fb1.zip
Fixes double click events when scrolling Tabsheet #9582
Change-Id: Ief4a20cc085ab4b36c9c741a76a3ba76ff439334
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java b/client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java
index b2ad68e79b..6ab5f4b6e4 100644
--- a/client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java
@@ -711,6 +711,7 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
scrollerIndex = newFirstIndex;
updateTabScroller();
}
+ event.stopPropagation();
return;
} else if (isClippedTabs()
&& DOM.eventGetTarget(event) == scrollerNext) {
@@ -720,6 +721,7 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
scrollerIndex = newFirstIndex;
updateTabScroller();
}
+ event.stopPropagation();
return;
}
}