You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using virtual scroll with ion-cards, the result is not rendered properly. The ion-card are not aligned properly and have different sized spaces between them.
Expected behavior:
When using virtual scroll with ion-cards, the cards should be rendered in a proper ways. with same padding and margin.
Steps to reproduce:
create a virtual scroll content with ion-cards.
Related code:
<ion-virtual-scroll [items]="items" approxItemHeight="320px">
<ion-card *virtualItem="let item">
<ion-card-header>
<ion-card-title>title comes here</ion-card-title>
</ion-card-header>
<ion-card-content>content comes here</ion-card-content>
</ion-card>
</ion-virtual-scroll>
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
[x] 4.6.2
Current behavior:
When using virtual scroll with ion-cards, the result is not rendered properly. The ion-card are not aligned properly and have different sized spaces between them.
Expected behavior:
When using virtual scroll with ion-cards, the cards should be rendered in a proper ways. with same padding and margin.
Steps to reproduce:
create a virtual scroll content with ion-cards.
Related code:
The text was updated successfully, but these errors were encountered: