Skip to content

Wizard: Step title truncates to single line when subtitleText is set, causing text overflow at 320px viewports #13628

@HarshulAggarwal

Description

@HarshulAggarwal

Describe the bug

When a WizardStep has both titleText and subtitleText set, the internal WizardTab.css restricts the title to -webkit-line-clamp: 1. At narrow viewports (e.g. 320px) or high zoom (200%), this causes long step titles like "Organizational Details" to truncate to "Organizational..." even though there is sufficient vertical space to wrap onto a second line.

Without subtitleText, the title correctly gets wraps in line 2 instead of truncating.

Isolated Example

https://stackblitz.com/edit/github-uujusgx1?file=src%2FApp.tsx

Reproduction steps

Expected Behaviour

Image

Screenshots or Videos

No response

UI5 Web Components for React Version

2.22.1

UI5 Web Components Version

2.22.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

    No fields configured for Bug.

    Projects

    Status
    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions