Two scrolling panes is the wrong way to build a side-by-side diff
I had a text-compare tool that asked people to compare two things it would not show them at the same time. One textarea, then another textarea underneath it, then a single-column unified diff below that — removals in red, additions in green, in the order a diff algorithm emits them. Everything on the page was correct and the tool was close to useless, because comparing is a thing your eyes do in…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.