From cdee901c2b36ed1ca35c68c150cbc38d3965aa66 Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Thu, 16 Dec 2021 12:58:31 +0200 Subject: [PATCH] fix(cosmoz-data-nav): prevent creation of a new stacking context (#170) Because of the default 0px transform data-nav creates a new stacking context that prevents us from correctly positioning elements in dropdown menu without moving to body. --- cosmoz-data-nav.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cosmoz-data-nav.js b/cosmoz-data-nav.js index 380307e..830a555 100644 --- a/cosmoz-data-nav.js +++ b/cosmoz-data-nav.js @@ -35,11 +35,6 @@ class CosmozDataNav extends hauntedPolymer('haunted', useDataNav)(PolymerElement overflow-x: hidden; } - #items, - #items > ::slotted(.animatable){ - transform: translateX(0px); - } - #items, #items > ::slotted(.animatable) { position: absolute;