@natec/mef-dev-ui-kit 20.1.31 → 20.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7012,7 +7012,6 @@ class MDMenuTriggerBase {
|
|
|
7012
7012
|
_menuCloseSubscription = Subscription.EMPTY;
|
|
7013
7013
|
_pendingRemoval;
|
|
7014
7014
|
_parentMenu;
|
|
7015
|
-
_parentInnerPadding;
|
|
7016
7015
|
_openedBy = undefined;
|
|
7017
7016
|
get _menu() {
|
|
7018
7017
|
return this._menuInternal;
|
|
@@ -7199,13 +7198,6 @@ class MDMenuTriggerBase {
|
|
|
7199
7198
|
if (this._triggersSubmenu()) {
|
|
7200
7199
|
overlayFallbackX = originX = menu.xPosition === 'before' ? 'start' : 'end';
|
|
7201
7200
|
originFallbackX = overlayX = originX === 'end' ? 'start' : 'end';
|
|
7202
|
-
if (this._parentMenu) {
|
|
7203
|
-
if (this._parentInnerPadding == null) {
|
|
7204
|
-
const firstItem = this._parentMenu.items.first;
|
|
7205
|
-
this._parentInnerPadding = firstItem ? firstItem._getHostElement().offsetTop : 0;
|
|
7206
|
-
}
|
|
7207
|
-
offsetY = overlayY === 'bottom' ? this._parentInnerPadding : -this._parentInnerPadding;
|
|
7208
|
-
}
|
|
7209
7201
|
}
|
|
7210
7202
|
else if (!menu.overlapTrigger) {
|
|
7211
7203
|
originY = overlayY === 'top' ? 'bottom' : 'top';
|