Mouse down does not scroll editable region if the selection is handled manually

Confirmed Issue #12115046 • Assigned to Grisha L.

Details

Author
Marek L.
Created
May 24, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
15.15063
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

There is an inconsistency in implementation on how Edge implements scrolling. By the looks of it IE implements scrolling based on where the selection is, while other browsers rely on the pointer (mouse).

See the following demo, where we modify selection manually in mousemove event, but we’re not calling evt.preventDefault(): https://codepen.io/mlewand/pen/eWxLPW?editors=1010#0

Put the mouse in the editable and try scroll to the right side, so that you scroll right. When the seleciton is overriden it’s impossible.

If you check other browsers, every single one acts in the same way, that it follows your pointer even though selection is modified. Edge is the only browser to stand out, so it would improve interoperability if this is fixed.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Rick J.”

      Changed Assigned To to “Grisha L.”

      Changed Assigned To to “Rick J.”

      Changed Assigned To from “Rick J.” to “Amit J.”

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

      Changed Status to “Confirmed”

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

    Sign in