From 1f0d230ca83196a9fb458f31fe64ccfe6f16f3df Mon Sep 17 00:00:00 2001 From: Christina Toegl <toegl@tugraz.at> Date: Wed, 2 Dec 2020 13:44:55 +0100 Subject: [PATCH] Fix removing of attribute --- packages/app-shell/src/app-shell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index 43359e80..2f70e026 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -421,7 +421,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) { } else if (isMenuOverflow && menu.classList.contains('hidden')) { document.body.removeAttribute('style', 'overflow:hidden;'); - menu.setAttribute('style', 'position: fixed;top: ' + topValue + 'px;bottom: 0;border-bottom: 0;overflow-y: auto;'); + menu.removeAttribute('style', 'position: fixed;top: ' + topValue + 'px;bottom: 0;border-bottom: 0;overflow-y: auto;'); } const chevron = this.shadowRoot.querySelector("#menu-chevron-icon"); -- GitLab