Skip to content

Commit 83ce36a

Browse files
committed
Fixed size adjustment
1 parent e4c30ca commit 83ce36a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/src/docs/VersionHistory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const VersionHistory = () => {
66
<h2 id="changes">Version history</h2>
77

88
<div>
9-
<h3>0.1.11</h3>
9+
<h3>0.1.11 - 0.1.12</h3>
1010
<ul>
1111
<li>
1212
Fix to deal with changes to size and anchor properties on anchored

react-spaces/src/components/Space.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class Space extends React.Component<AllProps, IState> {
320320
spaceTakers: [ ...this.state.spaceTakers, spaceTaker ]
321321
})
322322
} else {
323-
existing.adjustedSize = 0;
323+
// existing.adjustedSize = 0;
324324
existing.order = spaceTaker.order;
325325
existing.anchorType = spaceTaker.anchorType;
326326
existing.size = spaceTaker.size;

0 commit comments

Comments
 (0)