diff --git a/src/components/SettingsMenu.tsx b/src/components/SettingsMenu.tsx index 7dbd01646..8aa3abb14 100644 --- a/src/components/SettingsMenu.tsx +++ b/src/components/SettingsMenu.tsx @@ -1,4 +1,11 @@ -import { IconButton, Menu, MenuButton, MenuList } from "@chakra-ui/react"; +import { + Box, + IconButton, + Menu, + MenuButton, + MenuList, + Portal, +} from "@chakra-ui/react"; import { useRef } from "react"; import { RiSettings2Line } from "react-icons/ri"; import { useIntl } from "react-intl"; @@ -10,28 +17,32 @@ import LanguageMenuItem from "./LanguageMenuItem"; const SettingsMenu = () => { const intl = useIntl(); const settingsMenuRef = useRef(null); - + const containerRef = useRef(null); return ( -
+