Skip to content

Commit

Permalink
[3878] Unmount ReactFlowProvider after layout
Browse files Browse the repository at this point in the history
Bug: #3878
Signed-off-by: Michaël Charfadi <[email protected]>
  • Loading branch information
mcharfadi authored and sbegaudeau committed Aug 27, 2024
1 parent 962e19f commit db03783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ As a result, the following maven modules have been deleted: `sirius-web-sample-a
- https://github.com/eclipse-sirius/sirius-web/issues/3824[#3824] [core] Fix representation migration participant execution which was failing when there were many representation migration participant to apply.
- https://github.com/eclipse-sirius/sirius-web/issues/3851[#3851] [trees] Fix an issue where the tree filters menu items were not displayed anymore after a click on the filters menu.
- https://github.com/eclipse-sirius/sirius-web/issues/3849[#3849] [form] Fix the tree representation in form support the display of the same referenced element many times in the tree.
- https://github.com/eclipse-sirius/sirius-web/issues/3878[#3878] [diagram] Unmount ReactFlowProvider after layout

=== New Features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export const prepareLayoutArea = (

export const cleanLayoutArea = (container: HTMLDivElement) => {
if (container?.parentNode) {
ReactDOM.unmountComponentAtNode(container);
container.parentNode.removeChild(container);
}
};
Expand Down

0 comments on commit db03783

Please sign in to comment.