wwt / SwiftCurrent

A library for managing complex workflows in Swift

Home Page:https://wwt.github.io/SwiftCurrent/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: After abandoning a WorkflowView with wrapped UIKit components it cannot proceed again

Tyler-Keith-Thompson opened this issue · comments

What happened?

Set it up like this:

WorkflowView {
    WorkflowItem(FR1.self) // FR1 is a UIViewController
        .presentationType(.navigationLink)
    WorkflowItem(FR2.self) // FR2 is a UIViewController
        .presentationType(.navigationLink)
}
.embedInNavigationView()
.abandonOn(somePublisher)

Then proceed a ways in, send a value to somePublisher and see it abandon.
Finally, try to proceed again, nothing happens this time.

Version

SwiftCurrent version: 5.1.7

Relevant code sample

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct