Scrolling happens in wrong tab when opening tab in background
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | affected |
People
(Reporter: simonf, Unassigned)
Details
STR:
- Go to https://github.com/WICG/Realms-Initialization-Control?tab=readme-ov-file#Same-Origin-Realm
- Scroll to the top
- Command+Click (I am on MacOS) on the first "same origin realms" link
Effect: Instead of a background tab opening at the bottom of the page, the background tab opens at the top and the current tab scrolls to the bottom again.
Note: This seems to only happen if the link that is currently open is pointing to the same anchor which is being opened. If you're on https://github.com/WICG/Realms-Initialization-Control?tab=readme-ov-file#Considerations it works fine.
Also: In general scrolling around on that page then focusing the address bar and pressing enter does nothing while it should scroll back to the anchor.
Comment 1•9 months ago
|
||
Confirmed, except for me the new tab scrolls to the correct position. But the current tab certainly shouldn't scroll...
S3 because cmd-clicking a link pointing to the same URL (including fragment) as the current page seems rare and the impact is annoyance but doesn't break anything.
Description
•