diff --git a/src/apps/popup/pages/navigation-menu/index.tsx b/src/apps/popup/pages/navigation-menu/index.tsx index a7cf1b08a..3dbd15ee0 100644 --- a/src/apps/popup/pages/navigation-menu/index.tsx +++ b/src/apps/popup/pages/navigation-menu/index.tsx @@ -1,4 +1,4 @@ -import React, { useMemo } from 'react'; +import React, { useEffect, useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { useSelector } from 'react-redux'; import { useNavigate } from 'react-router-dom'; @@ -76,6 +76,12 @@ export function NavigationMenuPageContent() { const { openWindow } = useWindowManager(); const { closeNavigationMenu } = useNavigationMenu(); + useEffect(() => { + const container = document.querySelector('#ms-container'); + + container?.scrollTo(0, 0); + }, []); + const menuGroups: MenuGroup[] = useMemo( () => [ {