@aptre/flex-layout 0.5.12 → 0.5.13
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.mjs +3 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6096,6 +6096,9 @@ function OptimizedLayout({ model, renderTab, classNameMapper, onDragStateChange,
|
|
|
6096
6096
|
const existing = prevTabs.get(nodeId);
|
|
6097
6097
|
if (existing) {
|
|
6098
6098
|
nextTabs.set(nodeId, { ...existing, node });
|
|
6099
|
+
if (existing.node !== node) {
|
|
6100
|
+
changed = true;
|
|
6101
|
+
}
|
|
6099
6102
|
} else {
|
|
6100
6103
|
nextTabs.set(nodeId, createTabInfo(node));
|
|
6101
6104
|
changed = true;
|