8

In the Microsoft Edge browser, when adding a comment for a question or answer, by default the cursor position is focused at the second line of the placeholder text.

In the Google Chrome and Mozilla Firefox browsers, the cursor position is focused on the very first character of the placeholder text.

When adding a comment for question:

question comment

When adding a comment for answer:

answer comment

Configurations:

OS: Windows 10 Pro
Browser version: Microsoft Edge 41.16299.15.0
Zoom: 100%

1
  • Side note: IE does not exhibit this bug; the placeholder is never shown unless the user clicks out of it. Jun 5, 2019 at 21:30

1 Answer 1

7

This is a bug in Edge and there's nothing we can really do about it. When Edge encounters a multiline placeholder, it places the cursor at the lower left corner of the text.

<textarea
 rows="4" cols="30"
 placeholder="Line 1&#10;Line 2&#10;Line 3"
></textarea>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .