react-split-pane icon indicating copy to clipboard operation
react-split-pane copied to clipboard

Dragging splitter out of browser window

Open gaze opened this issue 4 years ago • 0 comments

I'm fairly new to frontend dev so please forgive me if this is an ignorant question-- but I've noticed that if I have a simple two split pane arrangement as the body of a document, I can just pull the splitter out of the browser window. I understand if this is expected behavior but is there any way to prevent it? As in, can I refer the minimum width of a pane to the right or bottom edge of the browser, so if I shrink the window such that the pane is forced to go to its minimum, other panes not below their minimum shrink accordingly? I just want the splitter to never leave the browser window.

gaze avatar Jun 29 '20 19:06 gaze