Post

Replies

Boosts

Views

Activity

Reply to ScrollView + LazyVStack + dynamic height views cause scroll glitches on iOS 26
Hi Albert, Thanks for your response and for taking the time to look into this. You’re right — in my original post the SquareView struct was omitted. I’ve now prepared a complete and minimal Xcode project including both versions (fixed-size and dynamic text). You can find it here: https://github.com/Sawyer-815/infinite-scroll The project builds without warnings using Xcode 26.0.1 and reproduces the issue consistently on iOS 26 simulators (iPhone 17 Pro). You can toggle between Fixed size and Dynamic size using the segmented control to compare behaviors. Let me know if you need any additional details or if there’s a better way to structure the test. Thanks again for your time, Sawyer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’25
Reply to ScrollView + LazyVStack + dynamic height views cause scroll glitches on iOS 26
Hi Albert, thanks for downloading the project and testing it. I tried with Xcode 26.1 beta and still have the issue. I can’t send a video but will try to explain what’s going on : If you add a lot of elements with the “add to top” button, and put yourself in the middle of the scrollView, then open and close your keyboard. You will see that the scroll view does not move when you are in “Fixed size” mode, but jumps when in “Dynamic size”. If you test with an iOS 18.0 simulator, you will see there is no jump on both size modes. Sawyer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’25