Edge unselects textContent elements if the nodeValue is set to the same value it already was

Issue #11375311 • Assigned to Travis L.

Details

Author
The W.
Created
Mar 23, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Issue reported on webcompat
https://github.com/webcompat/web-bugs/issues/5244

Seems that Edge unselects textContent elements if the nodeValue is set to the same value it already was. This is unique behavior in Edge, and probably a compat bug.

Additional info from GitHub
URL: patrick-steele-idem/morphdom#100 (https://github.com/patrick-steele-idem/morphdom/pull/100)
Browser / Version: Edge
Operating System: ???
Problem type: Something else - I’ll add details below
Steps to Reproduce
If we set nodeValue to the same value, Edge(maybe some other browsers)
reset the cursor position. This results in problems with typing for
textareas connected to data via morphdom.
Let’s check and update the value only if it’s changed. This fixes typing issues.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Travis L.”

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

    Sign in