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

flex-wrap: wrap does not work if flex-container's width is "auto" (VirtualMachine - IE9) #71

Open
speedornothing opened this issue Jul 13, 2016 · 1 comment

Comments

@speedornothing
Copy link

speedornothing commented Jul 13, 2016

I think it's a bug.

I changed the code to the following :

// details.flexStyle.main === 'auto' || // delete this line
details.flexStyle.mainOuter /* changed details.flexStyle.main to details.flexStyle.mainOuter */ - details.flexStyle.mainInnerBefore - details.flexStyle.mainInnerAfter - details.flexStyle.mainBorderBefore - details.flexStyle.mainBorderAfter >= line.main + child.flexStyle.mainOuter

then it works.

@speedornothing speedornothing changed the title "flex-wrap: wrap" does not work if flex-container's width is "auto" (VirtualMachine - IE9) flex-wrap: wrap does not work if flex-container's width is "auto" (VirtualMachine - IE9) Jul 13, 2016
@vinnykov
Copy link

I experience the same problem using IE8 and IE9. If the width of a flex container is set to auto, flex-wrap doesn't work and elements aren't wrapped. If I set the width: 100%, flexbox works as expected and elements are correctly wrapped.

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