This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
fxLayoutGap should consider hidden elements #136
Closed
Description
When an item in a layout is hidden (usually conditionally) then fxLayoutGap should not apply a gap to the first displayed element
<style>
.col1{
display:none !important;
}
</style>
<div class="container" fxLayout="row" fxLayoutGap="16px">
<div fxFlex class="col1">Div 1</div>
<div fxFlex class="col2">Div 2</div>
<div fxFlex class="col3">Div 3</div>
</div>
In this example Div 2
should not have a gap in front of it.