Skip to content

TextInput mode=outline has floating label truncated #4537

@gregfenton

Description

@gregfenton

Current behaviour

In v5, TextInput with mode="outline" has its floating label truncated. See image:

Image

Expected behaviour

The full label is displayed, not truncated

How to reproduce?

See this Snack.

If you change the version of RNP to v4, the issue goes away (in the Snack editor, simply modify the version value in package.json as per the images below).

Preview

RNP v4:

Image

RNP v5:

Image

Your Environment

See Snack.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions