CombineCommunity / CombineCocoa

Combine publisher bridges for UIKit
MIT License
1.67k stars 133 forks source link

`didSelectItemPublisher` from collection view only pushes element to latest subscriber #46

Closed Linkadi98 closed 3 years ago

Linkadi98 commented 3 years ago

Describe the bug I had 2 subscribers subscribed to didSelectItemPublisher of collection view. One to open another controller, one to call api. But when I tapped on collection view cell, it just emited elements to the latest subscriber, ignored the previous one.

To Reproduce Subscribe 2 subscribers to didSelectItemPublisher of collection view and see what happens

Expected behavior didSelectItemPublisher emits to all its subscribers

Device:

freak4pc commented 3 years ago

Thanks to @TTOzzi for fixing this in #47! Should be out in the upcoming release.