diff --git a/components/Accordion.jsx b/components/Accordion.jsx index 441381e..2a78543 100644 --- a/components/Accordion.jsx +++ b/components/Accordion.jsx @@ -28,6 +28,9 @@ const Accordion = ({ children, title = "More" }) => { // 4. and scroll into view and focus targetElement.focus(); targetElement.scrollIntoView({ behavior: "smooth", block: "center" }); + if ("scrollRestoration" in history) { + history.scrollRestoration = "auto"; + } } }