@brightspace-ui/core 3.176.6 → 3.176.7
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.
|
@@ -351,7 +351,9 @@ export const DropdownPopoverMixin = superclass => class extends LocalizeCoreElem
|
|
|
351
351
|
this._hasHeaderSlotContent = e.target.assignedNodes().length !== 0;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
#handlePopoverClose() {
|
|
354
|
+
#handlePopoverClose(e) {
|
|
355
|
+
// ignore popover close events from nested popovers
|
|
356
|
+
if (e.target !== this) return;
|
|
355
357
|
setTimeout(() => {
|
|
356
358
|
this.opened = false;
|
|
357
359
|
|
|
@@ -365,7 +367,9 @@ export const DropdownPopoverMixin = superclass => class extends LocalizeCoreElem
|
|
|
365
367
|
this.dispatchEvent(new CustomEvent('d2l-dropdown-focus-enter', { detail:{ applyFocus: e.detail.applyFocus } }));
|
|
366
368
|
}
|
|
367
369
|
|
|
368
|
-
#handlePopoverOpen() {
|
|
370
|
+
#handlePopoverOpen(e) {
|
|
371
|
+
// ignore popover open events from nested popovers
|
|
372
|
+
if (e.target !== this) return;
|
|
369
373
|
this.opened = true;
|
|
370
374
|
|
|
371
375
|
if (!this.noAutoFit && this.#contentElement) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.176.
|
|
3
|
+
"version": "3.176.7",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|