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

initial size and other options not working.

Open rjworks opened this issue 3 years ago • 2 comments

Describe the bug

A clear and concise description of what the bug is. Setting options like minSize and initialSize doesn't work.

To Reproduce

Type this in your code

    <SplitPane>
      <Pane initialSize="60%" minSize="20%" maxSize="20%">
        This Pane has initial size of 60%
      </Pane>
    </SplitPane>

Steps to reproduce the behavior:

Post a link to a CodeSandbox. You can start by forking this one. https://codesandbox.io/s/react-split-pane-base-sandbox-forked-lg9ys?file=/src/index.js

Expected behavior

A clear and concise description of what you expected to happen. The options should be working

Screenshots

If applicable, add screenshots to help explain your problem. image

Additional context

Add any other context about the problem here.

rjworks avatar May 02 '21 06:05 rjworks

you also have typos in http://react-split-pane-v2.surge.sh/?MaxPxVerticalExample and some other

rjworks avatar May 02 '21 06:05 rjworks

Can confirm, components and props mentioned in the v2 docs do not work. Typescript does not even show Pane as an exposed component. @tomkp do you have plans to resume work on this highly incredible library? v2 seems nearly complete based on the functionality on the documentation. Do you know how much effort remains to take this package to the finish line?

55Cancri avatar Jun 26 '21 13:06 55Cancri