Skip to content

Refresh element indicators after reconciling across multiple containers#600

Merged
jalal246 merged 17 commits intomainfrom
dev/wip_1_17
Jan 20, 2023
Merged

Refresh element indicators after reconciling across multiple containers#600
jalal246 merged 17 commits intomainfrom
dev/wip_1_17

Conversation

@jalal246
Copy link
Member

@jalal246 jalal246 commented Jan 18, 2023

  • Add global configuration to set general transformation behavior.
 React.useEffect(() => {
    store.config({
      removeContainerWhenEmpty: false,
    });
  }, []);
  • Preserve container width when empty to prevent an uncalculated shift in elements' position.
  • Refresh all elements' indicators and re-calculate Rect when reconciling across multiple containers.

@github-actions github-actions bot added the Store label Jan 19, 2023
@jalal246 jalal246 changed the title Repositioning after emptying the parent container Refresh element indicators after reconciling across multiple containers Jan 20, 2023
@jalal246 jalal246 enabled auto-merge (squash) January 20, 2023 08:58
@jalal246 jalal246 merged commit d550a79 into main Jan 20, 2023
@jalal246 jalal246 deleted the dev/wip_1_17 branch January 20, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant