Incorrect cursor position

Confirmed Issue #15804910 • Assigned to Amit J.

Details

Author
Michiel D.
Created
Feb 5, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
41.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Text areas with a placeholder that’s long enough to wrap to a 2nd (or more) line(s) break cursor positioning.

When you focus on the text area, the cursor is moved to the start of the last line the placeholder is in.
Then, when you enter some text, placeholder is correctly removed, and the cursor moves -up-, to the end of the entered text.
Removing all text again shows the placeholder, with the cursor snapped to the start of the last line the placeholder is in.

Reproducible in this fiddle:

https://jsfiddle.net/u3bq3L5y/

A google search linked me to this seemingly similar issue:

"[Microsoft Edge] Wrong caret position in a textarea with a multiline …" > https://connect.microsoft.com/IE/feedback/details/1796541/microsoft-edge-wrong-caret-position-in-a-textarea-with-a-multiline-placeholder

However, since Microsoft Connect has been retired, the link no longer works.

Attachments

0 attachments

    Comments and activity

    • Additionally:

      The current versions of Google Chrome, Firefox and Safari all position the cursor correctly.
      IE 11 hides the placeholder on focus, the cursor is shown at the start of the textarea.

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Grisha L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Grisha L.” to “Amit J.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in