Not work (Can not resize)
See original GitHub issueI use project created by create-react-app and replace src/index.js as follow:
import React from 'react';
import ReactDOM from 'react-dom';
import SplitPane from 'react-split-pane';
ReactDOM.render(
<SplitPane split="vertical" minSize={50} defaultSize={100}>
<div style={{background: 'red', height: window.innerHeight}}></div>
<div></div>
</SplitPane>, document.getElementById('root'));
And then npm start. I can see the panel but can not resize it.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:10 (1 by maintainers)
Top Results From Across the Web
8 Fixes When You Can't Resize Window in Windows 11 and 10
1. Try Keyboard Shortcuts to Resize a Window · 2. Turn Off Tablet Mode · 3. Uninstall TeamViewer · 4. Close All Apps...
Read more >I Cannot resize window - Microsoft Community
I Cannot resize window. Something changed and if I browse windows changing a size is not possible, only minimize or close. Im not...
Read more >Can't resize window using the top edge.
The application window can't be resized using the mouse at the top edge. It appears that there is a 1 to 2 area...
Read more >resize window doesn't work in IDE - intermittent problem
Attempt to resize the output window by dragging and dropping the boundary, and it doesn't work. Grab handle (double headed up and down...
Read more >Window: resize event - Web APIs | MDN
The resize event fires when the document view (window) has been resized. This event is not cancelable and does not bubble.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I stumbled into this problem as well. After much debugging, I decided to add the styles and it worked.
I think the documentation should mention that you absolutely need to manually apply styles to the resizer – currently, it is not clear you must do this.
Thanks much.
Hi - The resizer has no default styling - so you will need to import the styling for the resizer as well…
If you add the following to a css file and import it, then it should work…
Let me know if you have any problems.