hide stats and scrollToContent-button when mobile menus open (#2509)

This commit is contained in:
David Luzar
2020-12-11 22:12:36 +01:00
committed by GitHub
parent 0efa62cf7c
commit ae15380a9f
2 changed files with 7 additions and 1 deletions

View File

@ -154,7 +154,7 @@ export const MobileMenu = ({
)}
{actionManager.renderAction("deleteSelectedElements")}
</div>
{appState.scrolledOutside && (
{appState.scrolledOutside && !appState.openMenu && (
<button
className="scroll-back-to-content"
onClick={() => {