Steps to reproduce:
- Visit the Beta Cluster: https://en.wikipedia.beta.wmflabs.org/.
- Log in (if you are not already).
- Ensure the Use Legacy Vector setting is disabled within Special:Preferences#mw-prefsection-rendering.
- Visit a page within the main namespace, like Cats.
- Ensure your page is at least 1200px wide.
- Scroll the page down.
- Notice the sticky header appears.
- Click on the Edit button on the sticky header when you reach the section: https://en.wikipedia.beta.wmflabs.org/wiki/Cats#Taxonomy_and_evolution.
- When the editor opens, scroll down to the section: https://en.wikipedia.beta.wmflabs.org/wiki/Cats#Health and make an edit.
- Publish your changes.
Observed Result: After publishing the edit, it didn't scroll to the position where the edit was made but rather to the position where the Edit button was clicked on the sticky header.
Expected Result: The article should scroll to the position where the edit was made.
Environment: Beta cluster.