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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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={() => {