-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: do not wrap header content, wrap long title #4310
Conversation
Also note the latter part of #4309, about header-content getting pushed outside the dialog |
@rolfsmeds Updated the PR to also break a long single word in header title. |
Need to test that this does not cause unnecessary word-breaking (e.g. breaks word instead of making Dialog bigger when there's room for it) I'm frankly a teeny bit nervous about word-breaking by default. I'd have been fine with just clipping and text-overflow:ellipsis to ensure that it doesn't push header-content outside. Perhaps @jouni has an opinion on the matter. |
Could this actually happen in some situation? I assume no, and I think then it would be okay to break the word instead of clipping it. |
My hunch is no, but I'm never entirely sure how browsers decide between wrap/shrink elements and make the container bigger to fit them. Thus the need to test. |
Kudos, SonarCloud Quality Gate passed!
|
Tested this, it's not an issue, the dialog will expand first before breaking words. |
Hi @web-padawan , this commit cannot be picked to 23.1 by this bot, can you take a look and pick it manually? |
This ticket/PR has been released with Vaadin 23.2.0.beta1 and is also targeting the upcoming stable 23.2.0 version. |
Description
Fixes #4309
Type of change