Steps to reproduce:
- Forward navigation
- Resize your browser window and make it very narrow, e.g. half the screen.
- Go to any page history, open any diff, enable the RevisionSlider, and ideally pin it.
- Now make the browser window larger, i.e. trigger at least one resize event.
- Click the "Previous edit" link.
- Unexpected behavior: Instead of jumping 1 revision the slider starts to a random position multiple revisions away.
- Backward navigation
- Resize your browser window and make it very narrow, e.g. half the screen.
- Go to any page history, open any diff, enable the RevisionSlider, and ideally pin it.
- Click the "Previous edit" link multiple times.
- Now make the browser window larger, i.e. trigger at least one resize event.
- Now use the browser's back button.
- Unexpected behavior: Instead of jumping 1 revision the slider starts to a random position multiple revisions away.
Marking as a Regression because I believe this was not an issue before T139101.