Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

editing in the middle of the text moves cursor to end (in Safari) #17

Closed
@Haroenv

Description

@Haroenv

Describe the bug

When the cursor is in the middle of the text, and you type, the cursor jumps to the end. This is likely because of setting the value without changing the "selection"

To Reproduce
Steps to reproduce the behavior:

  1. type part of a date
  2. move your cursor to somewhere inside the text
  3. type something
  4. see cursor jump to the end

Expected behavior

cursor stays where you enter text

Screenshots

2020-09-18 14-07-12 2020-09-18 14_08_12

Desktop (please complete the following information):

  • OS: macOS 10.14
  • Browser: Safari Tech Preview
  • Version: Release 113 (Safari 14.0.1, WebKit 15610.2.3.1)

Additional context

I've seen this problem before, in e.g.:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions