Skip to content

The issue with maintaining the cursor position. #1

@pedrogarciyalopez

Description

@pedrogarciyalopez

Hello! Thank you for the great library!

I have encountered a problem that I can’t figure out how to solve. To reproduce the issue, simply open your demo, place the cursor between two characters in any input, and add another character. The cursor will end up at the end of the string.

In other words, the cursor position is not maintained, which becomes particularly problematic when there is a textarea with a large amount of text in the application. If a user wants to insert several words into the middle of the existing text, with each new character, the cursor will jump to the end of the text.

2025-03-29.00.13.35.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