@shoper/phoenix_design_system 0.20.0 → 0.20.1
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.
|
@@ -146,8 +146,8 @@ exports.HDropdown = HDropdown_1 = class HDropdown extends phoenix_light_lit_elem
|
|
|
146
146
|
}
|
|
147
147
|
else if (document.activeElement === this._lastFocusableElement) {
|
|
148
148
|
ev.preventDefault();
|
|
149
|
-
this.
|
|
150
|
-
|
|
149
|
+
await this._rootDropdown._hideDropdownsSequentially();
|
|
150
|
+
this._focusOnNextSibling(this._rootDropdown);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
};
|
|
@@ -142,8 +142,8 @@ let HDropdown = HDropdown_1 = class HDropdown extends PhoenixLightLitElement {
|
|
|
142
142
|
}
|
|
143
143
|
else if (document.activeElement === this._lastFocusableElement) {
|
|
144
144
|
ev.preventDefault();
|
|
145
|
-
this.
|
|
146
|
-
|
|
145
|
+
await this._rootDropdown._hideDropdownsSequentially();
|
|
146
|
+
this._focusOnNextSibling(this._rootDropdown);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
};
|