I drew a diagram in gojs, the diagram does not show in IE11, but in other browsers it is displayed as usual. There are also other diagrams in the system, and they are shown.
The style of the div that wraps the diagram (diagram.div):
position: absolute;
width: calc (100% - 0.625rem);
height: 100%;
z-index: 1000;
float: right;
top: 1.25brake;
In f12 I saw that the canvas has property: "height=1" compared to other browsers where the canvas has a height of several hundred.
If I change the div's height to px and not in percentage, the diagram is displayed as usual.
the structure of the elements:
<div class="cabinets-grid">
<div class="cabinet-unit">
<cabinet-map>
<div class="cabinetMap" id="cabinetDiagram">
<canvas width="231" height="1" style="..."></canvas>
<div style="..."></div>
</div>
</cabinet-map>
<cabinet-map>
...
</cabinet-map>
</div>
</div>
the scss:
.cabinets-grid
{
display:table;
border-collapse:collapse;
width: calc(100% - 3.438rem);
height:100%;
margin-left: 3.438;
table-layout:fixed;
}
.cabinet-unit
{
display:table-cell;
position:relative;
}
.cabinetMap {
position:absolute;
width:calc(100% - 0.625rem);
height:calc(100% - 1.5rem);
z-index:1000;
float:right;
top:1.25rem;
}