@tantawowa/hosanna-ui 2.5.0 → 2.5.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.
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 2,
3
3
  "artifact": "npm-sdk",
4
4
  "packageName": "@tantawowa/hosanna-ui",
5
- "version": "2.5.0",
6
- "sourceCommit": "a4c61b08121c0628d52ff2196a10eaf3b84a8dda",
5
+ "version": "2.5.1",
6
+ "sourceCommit": "46aca83d866fd94b0a95095c0b1a16bd7307a290",
7
7
  "files": [
8
8
  {
9
9
  "path": "LICENSE",
@@ -899,7 +899,7 @@
899
899
  },
900
900
  {
901
901
  "path": "src/hosanna-bridge-targets/web/sg/WebSGScene.ts",
902
- "sha256": "4cd8818ee83a0907bc48a678d03a1c94661c523b8aebb0aff01421ce1979ccf2"
902
+ "sha256": "00e3974e3afc8c16895b48f1c7f2779a609670d5022cdb055699a0a8e1957f70"
903
903
  },
904
904
  {
905
905
  "path": "src/hosanna-bridge-targets/web/sg/WebSGSimpleLabel.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tantawowa/hosanna-ui",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Hosanna UI source SDK for Roku and its browser emulator",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -274,8 +274,11 @@ export class WebSGScene extends WebSGGroup implements ISGNScene {
274
274
 
275
275
  set dialog(value: ISGNStandardDialog | undefined) {
276
276
  if (value) {
277
- this.dialogHolder.appendChild(value);
278
277
  this.dialogGroup.visible = true;
278
+ if (this.dialogGroup instanceof WebSGGroup) {
279
+ this.dialogGroup.render();
280
+ }
281
+ this.dialogHolder.appendChild(value);
279
282
  value.observeFieldScoped('close', this.onDialogClose.bind(this, value));
280
283
  }
281
284
  this._dialog = value;
@@ -290,6 +293,9 @@ export class WebSGScene extends WebSGGroup implements ISGNScene {
290
293
  this.dialogHolder.removeChild(dialog);
291
294
  if (this.dialogHolder.getChildCount() === 0) {
292
295
  this.dialogGroup.visible = false;
296
+ if (this.dialogGroup instanceof WebSGGroup) {
297
+ this.dialogGroup.render();
298
+ }
293
299
  }
294
300
  }
295
301
  }