getsidetrack / swiftui-pipify

A SwiftUI component for launching custom picture-in-picture experiences
MIT License
155 stars 14 forks source link

View not being re-rendered #20

Closed adamtow closed 2 years ago

adamtow commented 2 years ago

Looking at the examples, I'm not seeing the view being updated with the width and height information. In my application that uses Pipify, I'm also not seeing the view being re-rendered even though the code in setView's renderer.objetWillChange is being called.

Sherlouk commented 2 years ago

Hi Adam,

It does appear you are right - a recent merge has broken some key functionality. I'll look to address this as soon as possible and apologise for the inconvenience. You may wish to use the 0.1.0 tag in the meanwhile which is working.

Sherlouk commented 2 years ago

Looks like this is now fixed. Tagging 0.3.0.

Please let me know if this does/doesn't work for you. I apologise for the inconvenience again, we will be working on documentation and automated testing soon (before a stable v1!)

adamtow commented 2 years ago

This does fix the problem. Thanks!