From: John Ahlroos Date: Mon, 5 Nov 2012 13:33:37 +0000 (+0200) Subject: Fixes double click events when scrolling Tabsheet #9582 X-Git-Tag: 7.0.0.beta8~2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e5e15b64181d5ecf2400848e6eedc540ac4f4fb1;p=vaadin-framework.git Fixes double click events when scrolling Tabsheet #9582 Change-Id: Ief4a20cc085ab4b36c9c741a76a3ba76ff439334 --- 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; } }