Closed junsikshim closed 6 months ago
I think this PR is ready with the exception of the bug mentioned above. Please review this! @hchangjae
Awesome!
https://github.com/junsikshim/react-pane-system/assets/52942171/3ff4f402-d6c0-490b-a683-39cd01b3dbae
The bug mentioned above refers to this, right? I also think it might be better to address this as a separate issue.
The bug mentioned above refers to this, right? I also think it might be better to address this as a separate issue.
Yeah, I'll merge this, and create a new issue regarding the bug.
Related issue: #11
I've separated splitters into a new layer(
SplitterLayer
), and it's on the same level asPaneRows
. Splitters are managed inSplitterRegistry
, and all the splitter-related files are located insplitter
directory.SplitterIntersectionHandle
is a squarediv
which acts as a handle to move two splitters at the same time. There is a bug in which horizontal splitter's width does not keep up with the pointer movement. Let's move that into a separate issue.Also, I've refactored
PaneSystem
andPaneRow
to reduce the number of unnecessary props. (There still exist unused props though)