Setting textarea.textContent causes text caret to be lost |
|||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3167.0 Safari/537.36
Steps to reproduce the problem:
With this code:
<textarea id="x"></textarea>
<script>
x.addEventListener('input', function(e) {
x.textContent = x.value;
});
</script>
Type into the textarea.
What is the expected behavior?
Typing should work.
What went wrong?
Focus is immediately lost.
Did this work before? Yes
Does this work in other browsers? Yes
Chrome version: 62.0.3167.0 Channel: n/a
OS Version: OS X 10.12.6
Flash Version:
You are probably looking for a change made after 410972 (known good), but no later than 410976 (first known bad).
CHANGELOG URL:
https://chromium.googlesource.com/chromium/src/+log/0684a6f3db61f973734e654292e00ade79e8bd5d..6ffa8394ec09cac47f842e47f843ad13dc25feb2
,
Aug 2 2017
,
Aug 2 2017
@yosin, Could you have a look at this issue ?
,
Aug 2
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 3
,
Oct 16
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by shanmug...@samsung.com
, Aug 2 2017