Steps to reproduce
Issue reported on webcompat
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.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Assigned To to “Travis L.”
Changed Status to “Confirmed”
Changed Assigned To from “Travis L.” to “Aparna P.”
Changed Assigned To from “Aparna P.” to “Travis L.”