From e1892a4dc3b0c676eddf60f1e9b5f310cced2c74 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio.bekerle@tugraz.at>
Date: Thu, 17 Jun 2021 14:51:55 +0200
Subject: [PATCH] Remove obsolete "slot-hidden class removing"

---
 packages/app-shell/src/app-shell.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js
index 4a369850..2b1f6ec4 100644
--- a/packages/app-shell/src/app-shell.js
+++ b/packages/app-shell/src/app-shell.js
@@ -848,9 +848,6 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) {
                 const slot = this.shadowRoot.querySelector("slot:not([name])");
                 if (slot)
                     slot.remove();
-
-                // remove the "slot-hidden" class of elements in the html of injected slots to show them after the page was loaded
-                querySlotted(this.shadowRoot, '.slot-hidden').forEach((slot) => { slot.classList.remove("slot-hidden"); });
             });
         }
 
-- 
GitLab