Vincil Bishop
06/01/2022, 2:50 AM<InsightView />
component? It seems like it's ignoring the parent container height.Vincil Bishop
06/01/2022, 2:50 AMVincil Bishop
06/01/2022, 2:51 AMVincil Bishop
06/01/2022, 2:55 AMVincil Bishop
06/01/2022, 2:55 AMMatyáš Kandl
06/01/2022, 12:44 PMVincil Bishop
06/01/2022, 2:05 PMMatyáš Kandl
06/01/2022, 4:22 PM<div #placeHolder [id]="rootDomID" [style.height]="height"></div>
(Where is this style: 1000px
coming from?)Vincil Bishop
06/01/2022, 4:23 PMVincil Bishop
06/01/2022, 5:49 PM<div #placeHolder [id]="rootDomID" [style.height]="height"></div>
With height = '1000px'
in the component.
yields this:Vincil Bishop
06/01/2022, 6:02 PM.insight-view-visualization {
height: 1000px;
}
And setting ViewEncapsulation.None
in the angular component wrapper.hunger regnuh
06/01/2022, 6:04 PMVincil Bishop
06/01/2022, 6:04 PMVincil Bishop
06/01/2022, 6:04 PMhunger regnuh
06/01/2022, 6:05 PMVincil Bishop
06/01/2022, 6:05 PM.insight-view-container
I think somehow blocks itVincil Bishop
06/01/2022, 6:06 PMhunger regnuh
06/01/2022, 6:07 PMVincil Bishop
06/01/2022, 6:07 PMVincil Bishop
06/01/2022, 6:08 PMVincil Bishop
06/01/2022, 6:08 PMVincil Bishop
06/01/2022, 6:08 PMVincil Bishop
06/01/2022, 6:09 PM.insight-view-container
is 400px high... with no explanation of where it gets set fromVincil Bishop
06/01/2022, 6:09 PM.insight-view-visualization
with height set at 100%Vincil Bishop
06/01/2022, 6:39 PMconst childView: HTMLElement = this.spanEl.nativeElement.querySelector('.insight-view-container')
childView.style.height = '1000px';
Matyáš Kandl
06/02/2022, 7:25 AMVincil Bishop
06/02/2022, 12:56 PMafterViewInit()
lifecycle hook, according to these instructions: https://sdk.gooddata.com/gooddata-ui/docs/ht_use_react_component_in_angular_2.x.html