File tree 3 files changed +4
-5
lines changed
domino-ui/src/main/java/org/dominokit/domino/ui/menu
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,6 @@ public AbstractMenuItem() {
104
104
this .addEventListener (
105
105
EventType .touchstart .getName (),
106
106
evt -> {
107
- evt .stopPropagation ();
108
- evt .preventDefault ();
109
107
focus ();
110
108
openSubMenu ();
111
109
});
@@ -148,8 +146,6 @@ public <T extends AbstractMenuItem<V>> T setSelectable(boolean selectable) {
148
146
}
149
147
150
148
private void onSelected (Event evt ) {
151
- evt .stopPropagation ();
152
- evt .preventDefault ();
153
149
if (parent .isMultiSelect () && isSelected ()) {
154
150
deselect ();
155
151
} else {
Original file line number Diff line number Diff line change @@ -402,6 +402,9 @@ public Menu() {
402
402
0 );
403
403
}
404
404
};
405
+
406
+ this .addEventListener (EventType .touchstart .getName (), Event ::stopPropagation );
407
+ this .addEventListener (EventType .touchend .getName (), Event ::stopPropagation );
405
408
}
406
409
407
410
public void focusFirstMatch (String token ) {
Original file line number Diff line number Diff line change 84
84
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
85
85
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
86
86
<elemental2 .version>1.2.1</elemental2 .version>
87
- <gwt .version>2.10 .0</gwt .version>
87
+ <gwt .version>2.11 .0</gwt .version>
88
88
<jackson .apt.version>1.0.4</jackson .apt.version>
89
89
<gwt .i18n.version>1.0.2</gwt .i18n.version>
90
90
<domino .doc.tool.version>1.0.0</domino .doc.tool.version>
You can’t perform that action at this time.
0 commit comments