Skip to content

AttributeGraph: cycle detected through attribute xx on macOS #63

@Kyle-Ye

Description

@Kyle-Ye

A mini reproductive demo.

import SwiftUI
import Pow

@main
struct DemoApp: App {
    @State private var sheet = false
    
    var body: some Scene {
        WindowGroup {
            Button("Open Sheet") {
                sheet.toggle()
            }
            .sheet(isPresented: $sheet) {
                Text("Demo")
                    .conditionalEffect(.smoke, condition: true)
            }
        }
    }
}

Env:

Xcode 15.2.0 + Swift 5.9.1
macOS 14.4.1

Related Issue: Lakr233/FixTim#10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions