mousedown preventDefault when an input is focussed sets caret to the beginning of the document

Confirmed Issue #5498341 • Assigned to Amit J.

Details

Created
Nov 19, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Uhttp://jsbin.com/ligetuheke/1](http://jsbin.[http://jsbin.com/ligetuheke/1](http://jsbin.com/ligetuheke/1)

 

MOBILE

 

Repro Steps:

==============

See this example on http://jsbin.com/ligetuheke/1

You can see the source here: http://jsbin.com/ligetuheke/1/edit?html,output
UPDATE
The example site has been reported as a threat, so you can use this link instead:
https://jsfiddle.net/jepea9ym/

/UPDATE

  1. Select the input field by touching it.

  2. Touch the text below the input field.

  3. The caret is now in a wrong position.

  4. Use the on-screen keyboard to enter text.

Expected Results:

==============

By calling event.preventDefault() in a mousedown handler, I expect that the element that received the event will not be focussed.

The focus as well as the caret should thus stay on the element that was focussed before.

Actual Results:

==============

Dev Channel specific:

================

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Sermet I.”

      Changed Steps to Reproduce

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed”

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

      Changed Status to “Not reproducible”

      Changed Steps to Reproduce

      Changed Status from “Not reproducible”

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

      Changed Status to “Confirmed”

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

    Sign in