@brightspace-ui/core 3.168.0 → 3.169.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.
@@ -266,9 +266,9 @@ export const PopoverMixin = superclass => class extends superclass {
266
266
  super.connectedCallback();
267
267
  if (this._opened) {
268
268
  this.#addAutoCloseHandlers();
269
- this.#addMediaQueryHandlers();
270
269
  this.#addRepositionHandlers();
271
270
  }
271
+ this.#addMediaQueryHandlers();
272
272
  }
273
273
 
274
274
  disconnectedCallback() {
@@ -335,6 +335,9 @@ export const PopoverMixin = superclass => class extends superclass {
335
335
  };
336
336
  }
337
337
  this._trapFocus = properties?.trapFocus ?? false;
338
+
339
+ this.#removeMediaQueryHandlers();
340
+ this.#addMediaQueryHandlers();
338
341
  }
339
342
 
340
343
  async open(opener, applyFocus = true) {
@@ -342,8 +345,6 @@ export const PopoverMixin = superclass => class extends superclass {
342
345
 
343
346
  const ifrauBackdropService = await tryGetIfrauBackdropService();
344
347
 
345
- this.#addMediaQueryHandlers();
346
-
347
348
  this._rtl = document.documentElement.getAttribute('dir') === 'rtl';
348
349
  this._applyFocus = applyFocus !== undefined ? applyFocus : true;
349
350
  this._opened = true;
@@ -103,7 +103,7 @@ export const TabMixin = superclass => class extends SkeletonMixin(superclass) {
103
103
  this.tabIndex = -1;
104
104
 
105
105
  this._clicked = false;
106
- this._noInitialSelectedEvent = getFlag('GAUD-8605-tab-no-initial-selected-event', false);
106
+ this._noInitialSelectedEvent = getFlag('GAUD-8605-tab-no-initial-selected-event', true);
107
107
  }
108
108
 
109
109
  firstUpdated(changedProperties) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.168.0",
3
+ "version": "3.169.1",
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",