From e1b659cda5ae1df669c44960cef2c53f28307721 Mon Sep 17 00:00:00 2001 From: fbruc03 <65135023+fbruc03@users.noreply.github.com> Date: Thu, 12 Jan 2023 23:30:32 +0100 Subject: [PATCH] menu anchor always on button --- src/components/Navbar.js | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/components/Navbar.js b/src/components/Navbar.js index 50d626f..76105a6 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -69,6 +69,8 @@ const styles = (theme) => ({ class Navbar extends Component { constructor(props) { super(props); + this.langRef = React.createRef(); + this.mcuRef = React.createRef(); this.state = { open: false, isTourOpen: false, @@ -145,7 +147,10 @@ class Navbar extends Component { (