New Responsive ion-grid

another thing that would be useful and seems spotty right now is conditional col widths

eg.

<ion-row>
    <ion-col col-12 [col-md-6]="someCondition">
        Content 1
    </ion-col>
    <ion-col col-12 col-md-6 [hidden]="someCondition">
        Content 2
    </ion-col>
</ion-row>

Right now that doesn’t seem to work correctly but it’s not clear if it should

1 Like