Visual artifacts in LazyVStack

Some strange visual artifacts appeared in my app after updating Xcode to 16.0. The old version of the app was built with Xcode 15.x and working fine without any visual artifacts, but for the latest release I've used Xcode 16.0 and some strange visual artifacts appeared in LazyVStack on iOS 18.x.

https://www.veed.io/view/828ed62c-a8ee-4102-846c-55b28a7f4b74?panel=share

Anyone can help me with a fix or workaround ?

Sorry, it seems the link provided cannot be opened without sign-up. Here are some public links:

Xcode 15 version: https://streamable.com/nhyg5r Xcode 16 version: https://streamable.com/ejm1hn

Please provide more detail about how the problem is manifesting itself. Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

Visual artifacts in LazyVStack
 
 
Q