exyte / ScalingHeaderScrollView

A scroll view with a sticky header which shrinks as you scroll. Written with SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU usage 102%

osxsystem opened this issue · comments

Tools: Xcode Version 14.3.1, iPhone 14 Pro Simulator(iOS 16.4)

  • reproduce:
    Run the example app, navigate to the "Banking Screen"
  • Debug Log:
ForEach<Array<BankTransaction>, UUID, TransactionView>: the ID 49BB3E99-EF2E-4939-9097-361C36DE5B36 occurs multiple times within the collection, this will give undefined results!

Screenshot 2023-07-31 at 3 53 43 PM

Hey @osxsystem, are you using ScalingHeader version 0.2.0? Since there was a fix for performance recently, and I want to make sure this fix didn't help with your problem. Have a nice day

Looks like I used an old version. After bumping up to 0.2.0, the problem was solved. 😵‍💫