Skip to content

SplitButton: No truncation with ellipsis for long texts in SplitButton #11806

Open
@arijitpatra-sap

Description

@arijitpatra-sap

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    🆕 New

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy