-
Notifications
You must be signed in to change notification settings - Fork 476
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
Overflowing long prefix and suffix values in the form fields #3381
Comments
Related to [modeler#3381](camunda/camunda-modeler#3381)
For now as a fix to this we have decided to simply truncate the text as we consider most scenarios of overflow as a misuse of the adorners in the first place, the PR for this is here. As alternatives, we have considered restricting the width of the adorners and also restricting the length of the adorner text but since this is a problem that is very dependent on the viewport, we decided to leave users the freedom to write text that doesn't fit, as it is an edge case. In any case we'll truncate to keep it visually sensible, especially in the editor which has a pretty narrow viewport in preview mode. |
Fixed upstream via bpmn-io/form-js#489 |
Fixed via #3422. As a user I'd expect the text to be cut off via |
@nikku As the guy who thought he provided this exact fix me too Is it turning into multi-line in the modeler integration then? |
Not sure. Just reporting from a users standpoint. 🙈 |
Ah I see what's wrong, good find, some CSS changes clashed. Initially, it was behaving as you described. |
Describe the bug
When we add a long prefix and suffix values to any form element we could see it overflowing from the sides
Steps to reproduce
Expected behavior
We could either make use of ellipsis here or restrict the number of characters for prefix/suffix
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: