Skip to content

Technical guide · Overview

Page status: HistoricalHistory group: Classified notes

NutsNews iOS Scroll Twitch Fix

This bundle fixes the scroll twitch caused by thumbnail cards changing height after async image metadata checks completed.

Visual overview

Primary diagram

System map

This bundle fixes the scroll twitch caused by thumbnail cards changing height after async image metadata checks completed.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
NutsNews iOS Scroll Twitch Fix

This bundle fixes the scroll twitch caused by thumbnail cards changing height after async image metadata checks completed.

flowchart TB
  accTitle: NutsNews iOS Scroll Twitch Fix
  accDescr {
    This bundle fixes the scroll twitch caused by thumbnail cards changing height after async image metadata checks completed.
  }
  A["NutsNews iOS Scroll Twitch Fix"] --> B["ios/NUTSNEWS_IOS_SCROLL_TWITCH_FIX_README.md"]
  B --> C["Auto-generated placeholder diagram"]

NutsNews iOS Scroll Twitch Fix

Fullscreen diagram view.

This bundle fixes the scroll twitch caused by thumbnail cards changing height after async image metadata checks completed.

Changed files:

  • NutsNews/NutsNews/Features/Feed/ArticleCardView.swift
  • NutsNews/NutsNews/Design/NutsNewsTheme.swift

Behavior:

  • Removed runtime thumbnail metadata layout changes.
  • Removed the thumbnail resolution display.
  • Article thumbnail areas now use a stable 3:2 container.
  • Images use scaledToFill and clipping inside that stable 3:2 area.
  • This prevents LazyVStack from recalculating card heights while scrolling back up.

Install from the repo root:

Terminal window
cd /Users/ramideltoro/WebstormProjects/nutsnews-ios
unzip -o ~/Downloads/nutsnews-ios-scroll-twitch-fix.zip -d .
cd NutsNews
xcodebuild -project NutsNews.xcodeproj -scheme NutsNews -destination 'id=8AABA667-DE66-44E9-8A10-A3FB84BECB39' build