react-split-pane
react-split-pane copied to clipboard
split pane renders above other components
trafficstars
Describe the bug
The split pane renders above other components when I put the parent container into display: grid or display: flex
To Reproduce
- add a split pane and another component into your main component
- add
display: gridordisplay: flexto the containing element
Codesandbox is here: https://codesandbox.io/embed/crimson-haze-qen24
Expected behavior
Both elememts should be stacked instead of above each other.
Screenshots
How it looks

How it should look

Additional context
It seems like the split pane always takes up 100vh (That's why there is a scrollbar on the how it should look). Maybe it has to do something with this behaviour.