Skip to content
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
@myrddraall

Description

@myrddraall

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.

Metadata

Metadata

Labels

P2Issue that is important to resolve as soon as possiblebughas prA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions