New issue
Advanced search Search tips

Issue 751601 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug

Blocking:
issue 392843
issue 737138



Sign in to add a comment

Setting textarea.textContent causes text caret to be lost

Project Member Reported by shanmug...@samsung.com, Aug 2 2017

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


 
Components: Blink>Forms>Textarea
Blocking: 737138
@yosin,
 Could you have a look at this issue ?

Project Member

Comment 4 by sheriffbot@chromium.org, Aug 2

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Blocking: 392843

Sign in to add a comment