yyllff / split-pane-react

Resizable split panes for React.js.
https://yyllff.github.io/split-pane-react
MIT License
95 stars 25 forks source link

Must give container height .. cant use with dyanmic child content #21

Open taylorxcampos opened 1 year ago

taylorxcampos commented 1 year ago

<div style={{ height: 500 }}> <SplitPane

Is there no way to have this node module work with passing in height: 100%? ... having to set a fixed height limits the use.

cpat430 commented 1 year ago

Would love an update on this ^

scyq commented 7 months ago

Ture and I really need this but no idea

daniel-was-taken commented 3 months ago

Is there a better workaround for this?

What I have is this but doesn't update to window changes

const screenHeight = {
    height:  window.innerHeight 
  }

<div style={screenHeight}>