SAP / fundamental-ngx

Fundamental Library for Angular is SAP Design System Angular component library
https://sap.github.io/fundamental-ngx
Apache License 2.0
263 stars 126 forks source link

"Send" button is truncated for some locales in conversation messages #12098

Closed C5358948 closed 1 month ago

C5358948 commented 1 month ago

Is this a bug, enhancement, or feature request?

Bug.

Briefly describe your proposal.

"Send" button is truncated for some locales in conversation messages

Which versions of Angular and Fundamental Library for Angular are affected? (If this is a feature request, use current version.)

Angular: 15.2.0 Fundamental NGX (core, platform, cdk, i18n): 0.42.0

If this is a bug, please provide steps for reproducing it.

Steps To Reproduce: Log in as language user eu_FR210309b, fr210309b, etc. Create a guided sourcing project > RFP Add items, suppliers > Publish Click the small conversation icon to send a message Select a user View send button Observe the issue

image
InnaAtanasova commented 1 month ago

hi @C5358948, thank you for creating the issue. Unfortunately, I don't have access to the application you provided a screenshot from. The Button component will grow to fit the content inside (text) and will not truncate unless it has a max-width, set by the consuming application. Here's the default behaviour of the Button component (grows to fit the text):

Screenshot 2024-07-11 at 12 11 08 PM

Here's when the button has a max-width apply to it (truncates):

Screenshot 2024-07-11 at 12 17 00 PM

If this is not helpful, please create a Stackblitz example that illustrates the problem. Thank you

droshev commented 1 month ago

@C5358948 I think this looks like pure application related issue. Please, report it to the application instead.