'jetback compose keep pushing my view in Box
jetpack compose keep pushing ProgressIndicator when keyboard is opened, I do not want the keyboard to overlap anything at all
Box(
Modifier
.fillMaxSize()
)
{
BasicTextField()
ProgressIndicator(
isVisible = uiState.isLoading
)
}
Solution 1:[1]
val insets = LocalWindowInsets.current
val imeBottom = with(LocalDensity.current) { insets.ime.bottom.toDp() }
Box(Modifier.fillMaxSize().padding(bottom = imeBottom)) {
}
using Insets for Jetpack Compose
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ????? |
