Skip to content

Placeholder and value are not in the same baseline on TextInput #774

@ferrannp

Description

@ferrannp

Current behaviour

In the efforts of aligning an icon with the text (like here), I realized about that.

Currently is not possible to align an icon with the text.

Expected behaviour

Placeholder line and value should be the same. So we can do things like aligning an icon:

mio-design_assets_1kezf2nmtvbqdofnajrotdxeiks1wlwhl_textfields-type-stroke

Code sample

You can try that in our TextInput example.

Screenshots (if applicable)

On the top with value and on the bottom with placeholder/label.

textinputalign

Your Environment

software version
android P
react-native 0.57.8
react-native-paper 2.4.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions