Jeremy Figgins
06/13/2023, 12:09 PMstruct ContentView: View {
var body: some View {
VStack {
ComposeView()
.ignoresSafeArea(.keyboard) // Compose has own keyboard handler
Text("Hello from SwiftUI")
}
}
}
I would expect the "Hello from SwiftUI" text to be immediately below the ComposeView, but instead it's forced to the bottom of the screen because the ComposeView is taking more vertical space than it needs.
Is anyone aware of a way to wrap the ComposeView so it only takes the space it needs?Joel Denke
06/13/2023, 5:02 PMJeremy Figgins
06/13/2023, 5:45 PMJoel Denke
06/13/2023, 7:35 PMDima Avdeev
06/14/2023, 5:41 PMJeremy Figgins
06/14/2023, 6:10 PM