UI5 / UI5/webcomponents

[ProductSwitch]: title-text and subtitle-text do not show as a tooltip when text is too long

Open
#11,332 2 comments 0 reactions 1 assignee View on GitHub

@PetyaMarkovaBogdanova is already working on this.

Since May 15, 2025.

bug enhancement feature request TOPIC P
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Bug Description

When a ProductSwitchItem in a ProductSwitch has a long text in title-text or subtitle-text. The long text is truncated in display with three dots.

There is no way of seeing the full text, we would expect that the full text is visible on hover event of the ProductSwitchItem where it should be displayed as a tooltip.

Affected Component

ProductSwitch

Expected Behaviour

Display the full text of title-text or subtitle-text when hover over the ProductSwitchItem

Isolated Example

No response

Steps to Reproduce
  1. In the playground for ProductSwitch for one ProductSwitchItem add a long title-text and subtitle-text
  2. The text for title-text and subtitle-text are now displayed truncated and are not displayed completely
  3. Mouse over the ProductSwitchItem, still the truncacted text is not shown
Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

2.9.0

Browser

Chrome

Operating System

Windows

Additional Context

Image

Organization

No response

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.