Hi all! I'm running into a sizing / padding issue....
# compose-ios
k
Hi all! I'm running into a sizing / padding issue. I am using this calendar library in KMP and am passing it into a SwiftUI View. (The Calendars root view is a
LazyRow
). I am then wrapping it in a
ComposeUIViewController
and then wrapping that in a
UIViewControllerRepresentable
on the Swift side. The problem is that I cannot get the height to fit. By default without any modifiers it doesn't show up at all. Then if use
scaledToFit
/
scaledToFill
there's a large space under the actual component. I've determined that the blank space underneath is on the SwiftUI side. I've tried various methods to get it working but nothing seems to work out well. The closest I got was following John O'Reillys post about it, which gets the correct height but has a long delay before showing the UI. Any suggestions? This is with Compose Plugin
1.8.2
.