-
Notifications
You must be signed in to change notification settings - Fork 80
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
Modal: Text in message dialog is truncated #8839
Comments
Maybe we can do something with css |
@rvaja-infor maybe you can change the maxWidth here? https://github.com/infor-design/enterprise/blob/main/src/components/message/message.js#L21 |
Thought did cross my mind. Also a scrollbar for this. What I am trying to do here is effect other message dialogs and was looking for a more generic solution. I may ask about the scrollbar as these paths can be any size which means I would need to find a sensible max-width, but that is not always going to be reasonable for some cases so the scrollbar may be the way forward. |
I'll talk to our team as well for ideas |
@tmcconechy , had a closer look and see the issue. |
@rvaja-infor this max width was an attempt to get a reasonable sized message (what the designs originally showed). Maybe we can look at a way to unset max width. |
@rvaja-infor @tmcconechy |
Looks like a good solution to me... @yohannahbautista what do you think @rvaja-infor ? |
@tmcconechy , seems okay to me. Just so I have got the right end of the stick here, basically a new option is being added into the settings for message dialogs to specify max-width, is that correct? |
@rvaja-infor that option already works i believe cc @yohannahbautista ? |
I just seen the option in the Enterprise controls we are currently on. Just not been exposed on our GWT wrapper, so not hard to sort out. The documentation at https://design.infor.com/components/components/message/enterprise/, is not very clear how this setting can be used.
We will however give this a try. |
@yohannahbautista can you update the docs? Mention you can use |
Describe the bug
The message dialog sometimes truncates the message text. In the attached screenshot you can observe that message text has been truncated. The text should read
Steps to reproduce the behavior:
Expected behavior
The message in the dialog should not be truncated and clearly visible.
Version
Screenshots
![image](https://private-user-images.githubusercontent.com/45232365/341398634-858a961d-0963-48ea-9a84-99bf3b21355c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI5ODU1MzEsIm5iZiI6MTcyMjk4NTIzMSwicGF0aCI6Ii80NTIzMjM2NS8zNDEzOTg2MzQtODU4YTk2MWQtMDk2My00OGVhLTlhODQtOTliZjNiMjEzNTVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA2VDIzMDAzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUxNjg0NmVjMjUwYjgxNzlhNjAyYjNjMmUzZjMwNTlmNzNkMzNkYmY2MTYxOTA5YzY4NDIxZWNkOTVmOGEwOWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.N4R2INezudVfsmwivkZOSwoK0trc1fFKh6wczSS3IY4)
Platform
The text was updated successfully, but these errors were encountered: