Apple SwiftUI 6.19.0: possible Fit.Layout first-attach sizing issue
Hi Rive team, sharing something I noticed on rive-ios 6.19.0.
I may be misunderstanding something in the docs, but I wanted to post this just in case.
With both AsyncRiveUIViewRepresentable and RiveUIViewRepresentable, fit: .layout(scaleFactor: .automatic) didn’t seem to fill the available space on first attach, even with a full-screen host and a responsive-layout file.
If I reassign the same fit value shortly after attach (rive.fit = rive.fit), it sizes correctly and then I see the layout sizing logs.
Just wanted to check whether this is expected, a possible bug, or maybe something that could use a small docs note.
Happy to share logs or anything else if you need more info! :)