wordpress-mobile / wordpress-mobile/WordPress-iOS

Dynamic Dashboard Card layout glitch

Open
#22,501 1 comment 0 reactions 1 assignee View on GitHub

@alpavanoglu is already working on this.

Since Feb 3, 2024.

[Pri] Low [Type] Bug My Site
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Description

Sometimes the spacing between the dynamic card cover and the title is not correct.

Expected Actual
Possible Root Cause

The root cause is that when the cover image loads, the card resizes to fit its content, but the cell wrapping the card doesn't resize.

For context, the card ( written in SwiftUI ), is embedded inside a UICollectionViewCell. So this is a possible bug of SwiftUI <> UIKit interoperability.

Steps to reproduce the behavior

Unknown

Tested on iPhone 14 Pro Max, iOS 17, Jetpack iOS / WordPress iOS 24.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.