Skip to content

Commit 29c8b4a

Browse files
committed
fix: partly revert #11457 - closes #11997
1 parent 06a8d6a commit 29c8b4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/foundation.dropdownMenu.js

+2
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,12 @@ class DropdownMenu extends Plugin {
113113
|| (_this.options.forceFollow && hasTouch)) {
114114
return;
115115
}
116+
e.stopImmediatePropagation();
116117
e.preventDefault();
117118
_this._hide($elem);
118119
}
119120
else {
121+
e.stopImmediatePropagation();
120122
e.preventDefault();
121123
_this._show($sub);
122124
$elem.add($elem.parentsUntil(_this.$element, `.${parClass}`)).attr('data-is-click', true);

0 commit comments

Comments
 (0)