Skip to content

Rendering issue with * symbol when isRequired prop is true with long label #4893

Open
@arturvardanyan

Description

@arturvardanyan

Provide a general summary of the issue here

I am facing a rendering problem when I set the isRequired prop to true and write a long label. The * symbol starts to render partially.
image

🤔 Expected Behavior?

When the isRequired prop is set to true and a long label is provided, the * symbol should be fully rendered without any partial truncation. The entire * symbol should be visible.

😯 Current Behavior

Currently, when the isRequired prop is set to true and a long label is provided, the * symbol starts to render partial

💁 Possible Solution

flex-shrink: 0 svg

🔦 Context

image

🖥️ Steps to Reproduce

https://codesandbox.io/s/spectrum-picker-required-zd3v6p?file=/src/App.js

Version

3.25.1

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MacOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      🔬 To Investigate / Verify

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions