Summary
The Text Diff Checker Clear action clears the editor value but leaves the previous Original Text diff lines visibly rendered in the editor. The two panes no longer show the same cleared state.
Reproduction
- Open
https://byteflow.tools/en/text-diff-checker.
- Enter this in Original Text:
hello world
line two
same
- Enter this in Modified Text:
hello brave world
line two
same!
- Click Clear.
Actual result
The Original Text textbox value is empty, but the editor still renders the old lines hello world, line two, and same underneath it. The Modified Text editor is empty. The stale Original lines disappear only after manually focusing the editor and pressing Select All + Backspace.
Expected result
Clear should remove both editor values and all rendered diff lines/decorations immediately, leaving two blank editors.
Impact
Users can believe old content is still part of the active comparison, or mistake stale diff decorations for current input. This is especially confusing when reusing the tool for multiple comparisons.
Environment
Summary
The Text Diff Checker
Clearaction clears the editor value but leaves the previous Original Text diff lines visibly rendered in the editor. The two panes no longer show the same cleared state.Reproduction
https://byteflow.tools/en/text-diff-checker.Actual result
The Original Text textbox value is empty, but the editor still renders the old lines
hello world,line two, andsameunderneath it. The Modified Text editor is empty. The stale Original lines disappear only after manually focusing the editor and pressing Select All + Backspace.Expected result
Clear should remove both editor values and all rendered diff lines/decorations immediately, leaving two blank editors.
Impact
Users can believe old content is still part of the active comparison, or mistake stale diff decorations for current input. This is especially confusing when reusing the tool for multiple comparisons.
Environment