Skip to content

List failed to visit cell content, returning an empty cell. - SwiftUICore/Logging.swift:84 - please file a bug report. #81970

Closed as not planned
@harsh-InstaView

Description

@harsh-InstaView

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions