diff options
author | Marc Englund <marc@vaadin.com> | 2012-11-06 07:21:31 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-06 07:21:31 +0000 |
commit | 042e41b5fef2b860457e247eee7d443d3ef9b8f0 (patch) | |
tree | 9c8c97813682d1af74916b6ef52702cf8af09259 /client | |
parent | 0a31deda50d483946048f3d73cddc1478b147af1 (diff) | |
parent | e5e15b64181d5ecf2400848e6eedc540ac4f4fb1 (diff) | |
download | vaadin-framework-042e41b5fef2b860457e247eee7d443d3ef9b8f0.tar.gz vaadin-framework-042e41b5fef2b860457e247eee7d443d3ef9b8f0.zip |
Merge "Fixes double click events when scrolling Tabsheet #9582"
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/tabsheet/VTabsheet.java | 2 |
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; } } |