-
-
Notifications
You must be signed in to change notification settings - Fork 705
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
Nested flexbox doesn't render correctly #1171
Comments
Having same issue here, version 51. Did you find a work around? |
Unfortunately, I have not. And I'm not fluent enough in python to find the bug in the code, unfortunately. |
Hi, Is there any way I could help resolving this issue? (adding more examples, etc) |
I just need more time to fix this issue 🕐. The examples are really useful, thank you! |
Hi, sorry for opening a new issue. I'll keep my comments in this one. I've found a workaround for the width issue in case anyone else has the same problem. Not sure about the I think the issue with the widths is related to the percentages on the child elements. If you replace the percentages with fixed values, eg. |
Then it’s probably related to #656 too.
No problem, thanks for the bug report! It’s always useful to get different examples when there’s an issue. |
Hello, |
Another (simple) example, I believe: HTML+CSSWeasyPrint PDF
Adding the following doesn't help PDF output much either.
Swapping out the nested flexbox for a grid doesn't render as expected too:
HTML+CSSWeasyPrint PDF |
Please fix this issue. |
Hi! As maintainers, we’d also love to see this issue fixed. But… Getting a proper flexbox rendering is long and complicated, and we currently don’t have enough free time to do this right now. The three main solutions you have to get this issue fixed is:
|
Hi liZe Thank you very much for your reply. I could be really nice to get some flexbox support for this lovely piece of software. What amount you estimate would be enough to get this done within a couple of monts maybe? |
Hi @vesters, We think that it would take between 1 and 2 weeks full time to get a solid implementation. It’s not that long, but it’s still too long to work seriously on this on our free time. |
@liZe Thank you for getting back to me on this. It sounds reasonable - do you guys have a going hourly rate? |
@vesters Let’s discuss about this by mail! You can reach us at contact@courtbouillon.org. |
At this date the issue is not yet fixed (V61.2), but a workaround is using tables, and yes, is a pain in the neck, but depending on the case it works fine :) |
Hi,
I have encountered a problem with nested flexbox that I can't figure out how to solve. If I use simple flexbox, everything works as expected, but when I try to nest them, strange things starts to happens.
Here is the most simplified example I could come up with:
The expected result should look something like this:
But the actual result looks like this:
I couldn't find similar bug, so I'm reporting it here, sorry if it is a duplicate. Is there anything I could do to help fix this issue?
The text was updated successfully, but these errors were encountered: