Wrong selectionStart/SelectionEnd after FIRST click on selected text in text input

Fixed Issue #3296786

Details

Created
Jun 23, 2015
Privacy
This issue is public.
Fixed in build #
17.17707
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Digit some text in a input box (type="text")
  2. Select all the text with the mouse
  3. Click on any point in the text

http://jsfiddle.net/b3ypg2rp/

Expected Results:

Inside the click event handler, after user clicked on the selected text in any position, selectionStart/selectionEnd properties are expected to reflect the cursor position.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Amit J.” to “IE S.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To from “IE S.” to “Grisha L.”

      Changed Status from “Won’t fix”

      Changed Status to “Confirmed”

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

      Changed Assigned To to “Amit J.”

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

      Changed Assigned To from “Grisha L.” to “James M.”

      Changed Assigned To from “James M.” to “Grisha L.”

      Changed Status from “Confirmed” to “Not reproducible”

      Changed Status from “Not reproducible”

      Changed Assigned To from “Grisha L.” to “Anupam S.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Anupam S.”

      Changed Status from “Won’t fix”

      Changed Status to “Confirmed”

      Changed Assigned To from “Anupam S.” to “Adam D.”

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge and will be available in an upcoming insider build.

      Best Wishes,
      The MS Edge Team

    • Just tired it on version 42.17134.1.0 and it is still not working. Once I click the selected text, both selectionStart and selectionEnd properties are zero by the time the click handler is called. If I click an unselected word, those properties are updated correctly. Same problem with textareas as well.

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

    Sign in