You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building a mobile navigation in a Gatsby project which should take up the whole screen. Therefore I am using a dialog component in which there is another dialog to switch between languages. The problem is that both dialogs display when the mobile navigation is opened and I can not even close the language dialog.
The code causing this problem can be found here inside the Navbar.js and LanguageSwitcher.js components
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am building a mobile navigation in a Gatsby project which should take up the whole screen. Therefore I am using a dialog component in which there is another dialog to switch between languages. The problem is that both dialogs display when the mobile navigation is opened and I can not even close the language dialog.
The code causing this problem can be found here inside the Navbar.js and LanguageSwitcher.js components
Beta Was this translation helpful? Give feedback.
All reactions