ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

SplitButton: No truncation with ellipsis for long texts in SplitButton

Open arijitpatra-sap opened this issue 4 months ago • 1 comments

Describe the bug

Right now it seems there is no way I can truncate long text in SplitButton with ellipsis

I also tried with the Text component as a child with maxLines 1, but that too didn't work and moreover on using the Text component as a child the styling of the text is not like that of SplitButton's.

It would be good to support truncation of long text in SplitButton.

This shows an example of long text in SplitButton: Image

Isolated Example

No response

Reproduction steps

Add a very long text to the SplitButton and see

Expected Behaviour

this is what is desired (right now not possible with the current SplitButton):

Image

Screenshots or Videos

This shows an example of long text in SplitButton:

Image

and this is what is desired (right now not possible with the current SplitButton):

Image

UI5 Web Components for React Version

2.11.1

UI5 Web Components Version

2.11.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output


Organization

No response

Declaration

  • [x] I’m not disclosing any internal or sensitive information.

arijitpatra-sap avatar Jun 27 '25 11:06 arijitpatra-sap