ribesg
01/12/2024, 3:47 PMandroid:windowSoftInputMode="adjustNothing"
for things to stop moving and glitching under the status bar, but on iOS I don't know what to do. My view is already defined as ComposeView().ignoresSafeArea()
(Which defaults to .ignoresSafeArea(.all, .all)
)ribesg
01/12/2024, 3:56 PMstruct ContentView: View {
var body: some View {
ComposeView().ignoresSafeArea()
}
}
to this:
struct ContentView: View {
var body: some View {
GeometryReader { _ in
ZStack {
ComposeView().ignoresSafeArea()
}.frame(
width: UIScreen.main.bounds.width,
height: UIScreen.main.bounds.height
)
}
}
}
seems to work, but it's clearly a (ugly) hackAlexander Zhirkevich
01/12/2024, 4:07 PMKonstantin Tskhovrebov
01/12/2024, 4:11 PMComposeUIViewController(
configure = {
onFocusBehavior = OnFocusBehavior.DoNothing
}
)