Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial size and other options not working. #752

Open
rjworks opened this issue May 2, 2021 · 2 comments
Open

initial size and other options not working. #752

rjworks opened this issue May 2, 2021 · 2 comments

Comments

@rjworks
Copy link

rjworks commented May 2, 2021

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
Copy link
Author

rjworks commented May 2, 2021

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

@55Cancri
Copy link

55Cancri commented Jun 26, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants