Describe the bug
Editor tab group cannot restore to correct size after changing size, closing and reopening split group.
Versions
- OS: Windows
- Browser: Chrome
- Molecule: 0.9.0-beta.3
To reproduce
- Open split tab group.
- ** Change size of split group.**
- Close the splited group.
- Reopen split tab group.
Expected
Restore to saved size.
Actually happening
The size is incorrect.
Related code
Code in Editor.tsx
initialSize={
groupSplitPos[index]
? `${groupSplitPos[index]}ratio`
: undefined
}
The ratio causes incorrect size to split pane. Remove ratio to fix.
Describe the bug
Editor tab group cannot restore to correct size after changing size, closing and reopening split group.
Versions
To reproduce
Expected
Restore to saved size.
Actually happening
The size is incorrect.
Related code
Code in Editor.tsx
The
ratiocauses incorrect size to split pane. Removeratioto fix.