HTMLInputElement undo history lost when moving the DOM node
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
People
(Reporter: dev.lukaszpolowczyk, Unassigned)
References
(Depends on 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
- Write some in Widget input.
- Use Ctrl+Z keyboard shortcut to undo.
Actual results:
I can not undo the first letter.
Expected results:
I should be able to undo.
In Chrome - I can.
I need it for Widget, which moves to the modal version, with extended possibilities. An event beforeinput could solve my problem to some extent, but not in every case.
Comment 2•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Reproducible with current Nightly.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
This appears to work the same in Chrome, so not a compat issue.
(In reply to James Graham [:jgraham] from comment #5)
This appears to work the same in Chrome, so not a compat issue.
So Chrome has changed the way it works, to the way Firefox works?
Because when I started this topic, Chrome worked differently.
Comment 7•10 months ago
|
||
This is still reproducible even with the fix of bug 1992288. I believe we should stop recreating TextEditor when the <input>/<textarea> is temporarily disconnected.
Description
•