Skip to content

Fix calculation of targetTop in router.ts#5022

Open
Aryaman1792 wants to merge 1 commit intovuejs:mainfrom
Aryaman1792:patch-1
Open

Fix calculation of targetTop in router.ts#5022
Aryaman1792 wants to merge 1 commit intovuejs:mainfrom
Aryaman1792:patch-1

Conversation

@Aryaman1792
Copy link

Fixes the calculation of targetTop in router.ts.
Previously, the computed scroll target could be incorrect under certain layout conditions (e.g., dynamic headers, nested containers, or offset inaccuracies). This update ensures the scroll position is determined consistently and more accurately.

@github-actions github-actions bot added the stale label Jan 1, 2026
@brc-dd brc-dd removed the stale label Jan 31, 2026
@brc-dd brc-dd force-pushed the main branch 3 times, most recently from 15a0278 to 09af6c7 Compare March 26, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants