Skip to content
Snippets Groups Projects
Commit 1f0d230c authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix removing of attribute

parent 7ffa0de5
Branches
No related tags found
1 merge request!12Add scrollbar to menu if necessary
Pipeline #14703 failed
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
...@@ -421,7 +421,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) { ...@@ -421,7 +421,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
} else if (isMenuOverflow && menu.classList.contains('hidden')) { } else if (isMenuOverflow && menu.classList.contains('hidden')) {
document.body.removeAttribute('style', 'overflow: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"); const chevron = this.shadowRoot.querySelector("#menu-chevron-icon");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment