@brightspace-ui/core 2.15.1 → 2.15.2

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.
@@ -106,7 +106,6 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
106
106
  this.describeContent = false;
107
107
  this.width = 600;
108
108
  this._handleResize = this._handleResize.bind(this);
109
- this._handleResize();
110
109
  }
111
110
 
112
111
  get asyncContainerCustom() {
@@ -123,6 +122,11 @@ class Dialog extends LocalizeCoreElement(AsyncContainerMixin(DialogMixin(LitElem
123
122
  super.disconnectedCallback();
124
123
  }
125
124
 
125
+ firstUpdated(changedProperties) {
126
+ super.firstUpdated(changedProperties);
127
+ this._handleResize();
128
+ }
129
+
126
130
  render() {
127
131
 
128
132
  let loading = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.15.1",
3
+ "version": "2.15.2",
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",