aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-11-06 07:21:31 +0000
committerVaadin Code Review <review@vaadin.com>2012-11-06 07:21:31 +0000
commit042e41b5fef2b860457e247eee7d443d3ef9b8f0 (patch)
tree9c8c97813682d1af74916b6ef52702cf8af09259 /client
parent0a31deda50d483946048f3d73cddc1478b147af1 (diff)
parente5e15b64181d5ecf2400848e6eedc540ac4f4fb1 (diff)
downloadvaadin-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.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;
}
}