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

expandToMin initializes container with a negative width #186

Open
riseOverRun opened this issue Feb 20, 2019 · 0 comments
Open

expandToMin initializes container with a negative width #186

riseOverRun opened this issue Feb 20, 2019 · 0 comments

Comments

@riseOverRun
Copy link

riseOverRun commented Feb 20, 2019

Using the following code:

Split(['#a', '#b'], {
sizes: [40,60],
minSize: [400, 500],
expandToMin: true
});

My #a will render with a width of calc(-4950% - 5px) and my #b will render with a width of calc(5050% - 5px). It isn't until I drag the gutter that the containers will snap to the correct width and function as expected.

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

1 participant