Insertion cursor incorrect in textarea with multiline placeholder

Confirmed Issue #15804910


Michiel D.
Feb 5, 2018
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 3 people

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:

A google search linked me to this seemingly similar issue:

"[Microsoft Edge] Wrong caret position in a textarea with a multiline …" >

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


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.”

      Changed Status from “Confirmed”

      Changed Assigned To to “Bogdan B.”

      Changed Title from “Incorrect cursor position” to “Insertion cursor incorrect in textarea with multiline placeholder”

      Changed Status to “Confirmed”

    • Known issue, indeed.

    • How to solve this issue. Any update?

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

    Sign in