split
split copied to clipboard
how to make split js works like IDE's split panel so that it doesn't shrink other side's width
I notice split.js shrinks other panel's width.
how do I make it such that it's like VS code / IntelliJ / Codepen split panel where while we're dragging to the left then the right side panel looks like it's on top of the left side panel?
hope you can understand this
You could handle this with the css for the child component of the pane container. Set a min-width for it and set a `overflow-x: auto on the pane container, and it will scroll like an IDE.
thanks. would be helpful if you can provide example sandbox for it
Not sure if I got it right but here is the Sandbox.