Request for Configurable Option to Word Wrap Text of Suggested Action Buttons
See original GitHub issueFeature Request
Is your feature request related to a problem? Please describe.
The feature request being requested is related to a problem. The current problem is that when the text for the suggested action buttons are long, the text does not word wrap. The text is cut off instead. The user is not able to read the full text of the suggested action buttons.
Describe the suggestion or request in detail
Would like to have an out-of-the-box configurable option where we can turn on and off the word wrap of text of suggested action buttons. This way, when the word wrap is turned on, the user is able to read the full text of the suggested action buttons.
Describe alternatives you have considered
At the moment, the only alternative to making the word wrap happen is to use custom css. But this is only a workaround/band-aid to the issue. The underlying problem is that there isn’t an out-of-the-box configurable option to do this. To word wrap the text of suggested action buttons, we need to do a little extra, manual work to make it happen.
Additional context
Screenshot:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:13 (8 by maintainers)
Top GitHub Comments
@HesselWellema thanks for the feedback! We’ve had tons of differing opinions on this topic so it’s good to see alignment with the decisions we receive from the designers. Overall we strongly believe that buttons should always be a short as possible, with necessary context added with the activity. I’ll be documenting this in our PR
50c from a ‘customer’. Since one is already trying to free up as much real estate as possible when selecting the flow layout, you are safe to assume that the length of the text on the button (the CTA) is already as short as possible. So it makes sense to not word-wrap in flow layout.