Skip to content

Commit

Permalink
Ensure scrolling behavior on page navigation (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld authored Jul 24, 2024
1 parent c653745 commit fae932f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/app/module/RootLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { Outlet } from "react-router-dom";
import { Outlet, ScrollRestoration } from "react-router-dom";

import { AppFrame } from "@kiesraad/ui";

export function RootLayout() {
return (
<AppFrame>
<ScrollRestoration />
<Outlet />
</AppFrame>
);
Expand Down

0 comments on commit fae932f

Please sign in to comment.