{text.EXTENSION.faq_title}
-
+
{text.EXTENSION.faq_bug}{" "}
{
- // eslint-disable-next-line
+ // Read once per page: an in-page anchor click must keep its smooth scroll.
+ const hash = window.location.hash.slice(1);
+ const target = hash ? document.getElementById(hash) : null;
+ if (target) {
+ target.scrollIntoView({ behavior: "instant", block: "start" });
+ return;
+ }
window.scrollTo({ top: 0, left: 0, behavior: "instant" });
}, [pathname]);