Skip to content

Editing content of input field moves caret position to end #81

@panmona

Description

@panmona

I noticed that when you edit an input field the caret always jumps to the end. This can be reproduced on the Demo app: https://shmew.github.io/Feliz.MaterialUI/#samples/sign-in

Repro

  1. Type into input
  2. Move caret to start
  3. Type a character

Expected result

Caret position stays the same

Actual Result

Caret moves to the end

A short video of what happens:

caret-bug-2021-08-06_12.08.04.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions