@viewfly/core 0.5.3 → 0.5.4

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.
@@ -1589,6 +1589,9 @@ function cleanView(nativeRenderer, atom, isClean) {
1589
1589
  }
1590
1590
  let child = atom.child;
1591
1591
  while (child) {
1592
+ if (child.jsxNode instanceof Component && child.jsxNode.instance.$portalHost) {
1593
+ isClean = false;
1594
+ }
1592
1595
  cleanView(nativeRenderer, child, isClean);
1593
1596
  child = child.sibling;
1594
1597
  }
package/bundles/index.js CHANGED
@@ -1591,6 +1591,9 @@ function cleanView(nativeRenderer, atom, isClean) {
1591
1591
  }
1592
1592
  let child = atom.child;
1593
1593
  while (child) {
1594
+ if (child.jsxNode instanceof Component && child.jsxNode.instance.$portalHost) {
1595
+ isClean = false;
1596
+ }
1594
1597
  cleanView(nativeRenderer, child, isClean);
1595
1598
  child = child.sibling;
1596
1599
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -47,7 +47,7 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/viewfly/viewfly.git/issues"
49
49
  },
50
- "gitHead": "7dadc17107c6fc4b8db6e620e9b95141db09e042",
50
+ "gitHead": "b66a751b23e5f9a336ac9f52438f9f9a27766762",
51
51
  "dependencies": {
52
52
  "reflect-metadata": "^0.1.13"
53
53
  }