SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 258 forks source link

List with lengthy text getting truncated with ellipses and not showing tooltip to see complete text #7524

Closed Harshithagc18 closed 9 months ago

Harshithagc18 commented 1 year ago

Is your feature request related to a problem?

List with lengthy text getting truncated with ellipses and not showing a tooltip to see the complete text. In most cases, we have scenarios to show the complete text in the next line instead of showing it with an ellipse as it doesn't give complete information to the user.

image

Describe the solution you'd like

It would be good to show the entire text accumulating in a new line instead of showing truncated text with ellipses.

image

Describe alternatives you've considered

No response

Additional Context

No response

Declaration

Lukas742 commented 1 year ago

Hi @Harshithagc18

there is already an open issue covering the tooltip for truncated text: SAP/ui5-webcomponents#7372 If you have any questions or more information about this topic, please raise them in the original issue.

For wrapping the text, you could use a CustomListItem there you can decide how the text handles overflow. (codeSandbox) Is this sufficient for you or do you still feel like it should be possible wrapping the text in the StandardListItem as well?

Harshithagc18 commented 1 year ago

Hi @Lukas742 , We need the same behavior for StandardListItem as well.

Lukas742 commented 1 year ago

Ok :) I'll then forward this issue to the ui5-webcomponents repo, as the affected components are developed there.


Hi colleagues, could you please take a look at this feature request?

dimovpetar commented 1 year ago

Hello @SAP/ui5-webcomponents-topic-p,

Take a look of this feature request for StandardListItem.

Best regards, Petar

plamenivanov91 commented 10 months ago

Hello @Harshithagc18 ,

I looked into the issue and it seems that the ui-li already has the title property which is used for tooltip.

So basically if you copy/paste your description text into the title attribute, you should have your desired tooltip.

Is this sufficient solution for you ?

Regards, Plamen

github-actions[bot] commented 9 months ago

Hello, everyone! The issue has been inactive for 21 days. If there are still questions or comments, please feel free to continue the discussion. Inactive issues will be closed after 7 days!

github-actions[bot] commented 9 months ago

Hello, everyone! The issue has been inactive for 28 days, so I am closing the issue.