Orange-OpenSource / ods-ios

A SwiftUI components library with code examples for Orange Design System
https://orange-opensource.github.io/ods-ios/
MIT License
25 stars 6 forks source link

[Bug]: Module - cards - Grid of small cards - no image alignment #769

Open mccart77 opened 4 months ago

mccart77 commented 4 months ago

Prerequisites

Your test device

iPhone 13

OS Version

16.1.1

App version

0.18.0

Describe the issue

When an image does not load into the small card, the card is not aligned to the other cards. This can be seen as the images load, the alignment shifts each time the image loads, it can also be seen in the 'image not available' example

Expected Behavior

cards should be the same size (width) before the image loads as after the image loads, so there is no shifting of alignment as the images load.

mccart77 commented 4 months ago

image