@viewfly/core 3.0.0-alpha.5 → 3.0.0-alpha.6

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.
package/dist/index.esm.js CHANGED
@@ -1982,7 +1982,7 @@ function patchComponent(nativeRenderer, component, oldChildAtom, newAtom, contex
1982
1982
  if (portalContainer) if (portalContainer === context.contextContainer) {
1983
1983
  if (portalContainer !== computedContainer) needMove = true;
1984
1984
  } else {
1985
- needMove = true;
1985
+ if (portalContainer !== computedContainer) needMove = true;
1986
1986
  context = {
1987
1987
  isParent: true,
1988
1988
  anchorNode: portalContainer,
package/dist/index.js CHANGED
@@ -1983,7 +1983,7 @@ function patchComponent(nativeRenderer, component, oldChildAtom, newAtom, contex
1983
1983
  if (portalContainer) if (portalContainer === context.contextContainer) {
1984
1984
  if (portalContainer !== computedContainer) needMove = true;
1985
1985
  } else {
1986
- needMove = true;
1986
+ if (portalContainer !== computedContainer) needMove = true;
1987
1987
  context = {
1988
1988
  isParent: true,
1989
1989
  anchorNode: portalContainer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "3.0.0-alpha.5",
3
+ "version": "3.0.0-alpha.6",
4
4
  "description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",