From e5e15b64181d5ecf2400848e6eedc540ac4f4fb1 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Mon, 5 Nov 2012 15:33:37 +0200 Subject: [PATCH] Fixes double click events when scrolling Tabsheet #9582 Change-Id: Ief4a20cc085ab4b36c9c741a76a3ba76ff439334 --- client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.39.5