Undo/Redo options are not working properly after using the Check spelling
Categories
(Core :: Spelling checker, defect)
Tracking
()
People
(Reporter: ailea, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: dom-lws-bugdash-triage)
Attachments
(1 file)
499.22 KB,
video/mp4
|
Details |
Tested with:
Firefox 100.0a1
Firefox 99.0b8
Firefox 98.0.2
Tested on:
Windows 10 x64
Ubuntu 20.04 x64
Steps to reproduce
- Open Firefox.
- Login to https://www.facebook.com/
- Click on "What's on your mind" box and then from "Creat post" popup right click on the text area and from the context menu select Languages and make sure "English" is checked.
- Introduce any misspelled text in English.
- Right click on any of the misspelled texts and select a word from the list of suggestions.
- Right click again and click undo.
- Right click again and click redo.
- Repeat steps 7 and 8 randomely.
Expected result
The undo/redo options should work accordingly after using the Check spelling.
Actual Result
The undo/redo options are not working properly after using the Check spelling.
Note
This issue is not reproducible on reddit.com and www.onlinetexteditor.com tested so far. Could be Facebook specific issue.
Updated•3 years ago
|
Updated•3 months ago
|
Comment 2•3 months ago
|
||
Aside: This is quite likely to be related to React's unidirectional data flow clobbering the DOM and breaking our ability to easily undo/redo. But that is something where it's possible changes in React / whatever react libraries are being used might have improved DOM stability over time, avoiding breaking us. (Or not.) We are limited in our ability to efficiently deal with pages destroying and re-creating the DOM when it's not actually necessary.
Reporter | ||
Comment 3•3 months ago
|
||
Hi, @Jens I cannot reproduce the issue described above anymore using the latest Nightly 133 build.
Comment 4•3 months ago
|
||
Thanks for checking!
Description
•