When clicking "Sign up" on event page, the scroll position didn't change (problem with phones, since the signup page was then scrolled to footer). Now the Sign up form always scrolls the page to top when rendered for the first time.
Handles the same issue as #458 so if this gets merged, that should probably be closed.
Closes #457.
Before submitting the PR, please make sure you do the following
[x] If your PR is related to a previously discussed issue, please link to it here.
[x] Prefix your PR title with feat:, fix:, chore:, or docs:.
[x] This message body should clearly illustrate what problems it solves.
[x] Make sure the commit history is linear, up-to-date with main branch and does not contain any erroneous changes
Formatting and linting
[x] Format code with pnpm format and lint the project with pnpm lint
Description
When clicking "Sign up" on event page, the scroll position didn't change (problem with phones, since the signup page was then scrolled to footer). Now the Sign up form always scrolls the page to top when rendered for the first time.
Handles the same issue as #458 so if this gets merged, that should probably be closed.
Closes #457.
Before submitting the PR, please make sure you do the following
Formatting and linting
pnpm format
and lint the project withpnpm lint