Skip to content

Commit 37e3c13

Browse files
megheaiulianJockeCK
authored andcommitted
fix: use display contents for renderItem instance
Use display contents for instance when using renderItem to prevent requiring position absolute to 100% side children.
1 parent e6849b8 commit 37e3c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosmoz-data-nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ class CosmozDataNav extends hauntedPolymer('haunted', useDataNav)(PolymerElement
930930

931931
_toggleInstance(inst, show) {
932932
if (this.renderItem) {
933-
inst.style.display = show ? 'block' : 'none';
933+
inst.style.display = show ? 'contents' : 'none';
934934
return;
935935
}
936936
inst?._showHideChildren(!show);

0 commit comments

Comments
 (0)