Juanpe / Juanpe/SkeletonView

Exploring Issues with Adaptive Cell Heights: Display Variability Across Different Device Models and Solutions

Open
#581 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
12.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I imported your library, but when using different cells in the tableView, and I have set the rowHeight to UITableView.automaticDimension and also assigned a value to estimatedRowHeight, the cell heights are not adjusting themselves accordingly. Displaying content normally is fine, but the display effects vary on different device models. On iPhone 15, only one cell can be loaded, and on iPhone 15 Pro, only content equal to one screen's height can be loaded. The subsequent cells cannot be displayed or scrolled.

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.

Research direction

Start by reproducing the issue with UITableView.automaticDimension and an assigned estimatedRowHeight across the reported iPhone models. The fix is complete when all cells load and can be displayed and scrolled consistently across those devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.