-
Notifications
You must be signed in to change notification settings - Fork 848
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
width: 100%
mixed with width: auto
amongst children has changed recently
#4360
Labels
bug
Something isn't working
Comments
This was referenced Mar 29, 2024
davep
added a commit
to davep/textual-sandbox
that referenced
this issue
Mar 29, 2024
Looks like f094588 is the bad commit. |
davep
added a commit
to Textualize/frogmouth
that referenced
this issue
Mar 29, 2024
See #98 and Textualize/textual#4360 for more context. For the moment this commit will undo the change made in respect to the request made in #94, but we'll have to remember to unpin again as soon as the Textual issue is resolved.
3 tasks
Merged
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
talblubClouby96
added a commit
to talblubClouby96/frogmouth
that referenced
this issue
Aug 2, 2024
See #98 and Textualize/textual#4360 for more context. For the moment this commit will undo the change made in respect to the request made in #94, but we'll have to remember to unpin again as soon as the Textual issue is resolved.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has been mentioned and reported in a couple of places, and @willmcgugan is aware and considering the issue, but I thought it a good idea to have a central issue recorded for it (if only so there's somewhere to point anyone seeing the same problem with their apps at).
Given this code:
until very recently this would result in the container being wide enough to contain the widest child, and the more-narrow child growing to fit the width of the container. Visually something like this:
As of (I think) 0.54, this has changed, and now the
width: 100%
within awidth: auto
container is causing the container to grow too wide:This has been the cause of Textualize/trogon#77 and Textualize/frogmouth#98 as well as #4354. I've not checked yet but I strongly suspect this will also have broken
ModalScreen
dialogs on a couple of my main applications too, if used with 0.54.The text was updated successfully, but these errors were encountered: