Skip to content

🐛 bug: change automatic scroll behavior when client changes route - #362

Merged
Mortaro merged 1 commit into
nullstack:unstable-nextfrom
mococa:bugs/fix-automatic-scroll-behavior-when-changing-route
Jun 28, 2023
Merged

🐛 bug: change automatic scroll behavior when client changes route#362
Mortaro merged 1 commit into
nullstack:unstable-nextfrom
mococa:bugs/fix-automatic-scroll-behavior-when-changing-route

Conversation

@mococa

@mococa mococa commented Jun 27, 2023

Copy link
Copy Markdown
Contributor

Small PR to fix route changing scroll behavior inheritance.
E.g: Before this PR, an website with

html {
  scroll-behavior: smooth;
}

was smoothly scroll to the top as the route changed. now it instantly scrolls to the top

@Mortaro
Mortaro merged commit 445767f into nullstack:unstable-next Jun 28, 2023
@mococa
mococa deleted the bugs/fix-automatic-scroll-behavior-when-changing-route branch July 3, 2023 11:39
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