Undo should group typing characters even if "input" event handler changes DOM |
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Example URL: http://jsbin.com/wogided/2/edit?html,css,output Steps to reproduce the problem: 1. Go to the JSBin Provided 2. In each of the text boxes type multiple characters, and then 'undo' (CTRL-Z or CMD-Z) What is the expected behavior? What went wrong? In the textarea that triggers innerHTML manipulation, only one character gets removed at a time. In the other one, the textarea is cleared completely. Note that it's not just innerHTML, it is also broken when DOM nodes are removed/replaced. http://recordit.co/Umw2cPhTxC Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 59.0.3071.115 Channel: stable OS Version: OS X 10.12.5 Flash Version:
,
Jul 19 2017
,
Jul 19 2017
,
Jul 20 2017
It seems modifying DOM in "input" event handler prevents us to merge typing character commands into one group.
,
Jul 20 2017
,
Oct 31 2017
Any plans to fix this? It would make PolyGerrit that much easier to use :-)
,
Jan 10 2018
,
Jan 10
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 |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by wyatta@google.com
, Jul 19 2017