Description
Description
List failed to visit cell content, returning an empty cell. - SwiftUICore/Logging.swift:84 - please file a bug report.
When List View wrapped in ScrollViewReader and added some header of it then getting below error in Xcode (Version 16.4 (16F6)) with some empty cells in List.
List failed to visit cell content, returning an empty cell. - SwiftUICore/Logging.swift:84 - please file a bug report.

When issue come - vanished UI from list, Then just open Notification Centre / Control Center / Move app to background mode to foreground mode and see UI will appeared which was vanished from list.
Reproduction
When List View wrapped in ScrollViewReader and added some header of it then getting below error in Xcode (Version 16.4 (16F6)) with some empty cells in List. Make expandable cell then expand and collapse it then it show below message from Xcode also some cell UI will be vanished.
List failed to visit cell content, returning an empty cell. - SwiftUICore/Logging.swift:84 - please file a bug report.
When issue come - vanished UI from list, Then just open Notification Centre / Control Center / Move app to background mode to foreground mode and see UI will appeared which was vanished from list.
Expected behavior
It should show cell and not empty cell without throwing error message from Xcode.
Environment
- Version 16.4 (16F6)
- SwiftUI Version 5
- Swift Version 6.1
Additional information
No response