]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes double click events when scrolling Tabsheet #9582 06/206/1
authorJohn Ahlroos <john@vaadin.com>
Mon, 5 Nov 2012 13:33:37 +0000 (15:33 +0200)
committerJohn Ahlroos <john@vaadin.com>
Mon, 5 Nov 2012 13:33:37 +0000 (15:33 +0200)
Change-Id: Ief4a20cc085ab4b36c9c741a76a3ba76ff439334

client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java

index b2ad68e79b858ecdc11d971dffbbd5487770f0e1..6ab5f4b6e4abc7f95267fa900b3b33bea68cb982 100644 (file)
@@ -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;
             }
         }