-
Notifications
You must be signed in to change notification settings - Fork 159
Labels
🐛 bugAny issue that describes a bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.gridgrid: hierarchical-gridgrid: pivotgrid: tree-grid
Description
Description
All grids resize infinitely when placed inside a flex container with igx-pivot-data-selector inside it and grow/shrink/basis properties set to 1 0 auto.
If only the grids are placed in the same container, there is no resizing issue.
Originated from https://infragistics.visualstudio.com/Indigo_Platform/_workitems/edit/39595
- igniteui-angular version:
- browser:
Steps to reproduce
:host {
display: flex;
}
.row-layout {
display: flex;
flex: 1 0 auto;
}<div class="row-layout">
<igx-pivot-grid [data]="financialTrading" [superCompactMode]="true" [defaultExpandState]="true" [autoGenerateConfig]="true" #pivotGrid></igx-pivot-grid>
<igx-pivot-data-selector [grid]="pivotGrid"></igx-pivot-data-selector>
</div><div class="row-layout">
<igx-grid [data]="financialTrading" [autoGenerate]="true"></igx-grid>
<igx-tree-grid #treeGrid [data]="data" primaryKey="ID" foreignKey="ParentID" [autoGenerate]="true">
</igx-tree-grid>
<igx-hierarchical-grid [data]="localdata" [autoGenerate]="true">
<igx-row-island [height]="null" [key]="'Albums'" [autoGenerate]="true">
</igx-row-island>
</igx-hierarchical-grid>
<igx-pivot-data-selector></igx-pivot-data-selector> <!-- This will also cause the above grids to resize infinitely -->
</div>Result
Expected result
The overall resizing may be due to the container's flex settings flex: 1 0 auto;, however, the behavior should not be different when the igx-pivot-data-selector is present and not.
Grids should stay in one size (same behavior when only grids are placed in the container)
Attachments
Attach a sample if available, and screenshots, if applicable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐛 bugAny issue that describes a bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.gridgrid: hierarchical-gridgrid: pivotgrid: tree-grid
