Skip to content

[text field] Inconsistent caret position on focus when clicking outside input element #47336

@felix-fuin

Description

@felix-fuin

Steps to reproduce

Steps:
On a Textfield, if there is a value, clicking outside the input html element give the focus to the textfield, but the caret position is a the beginning.

For example if you click here:

Image

The caret will be positioned before the text.

Current behavior

Search keywords: textfield, carret

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: text fieldChanges related to the text field.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions