colintheshots
12/10/2021, 8:06 PMjossiwolf
12/10/2021, 8:37 PMcolintheshots
12/10/2021, 8:43 PMjossiwolf
12/10/2021, 8:46 PMcolintheshots
12/10/2021, 8:46 PMallan.conda
12/10/2021, 8:58 PMcolintheshots
12/10/2021, 9:01 PMDmitry Strekha
12/11/2021, 3:56 PMsetContent {
MaterialTheme {
ProvideWindowInsets {
Column(
modifier = Modifier.fillMaxSize(),
horizontalAlignment = Alignment.CenterHorizontally
) {
Button(onClick = {}) {
Text("Click me")
}
}
}
}
}
At first button is clickable, but if you swipe below, or swipe from the corner to show "back" arrow and then release it without onBackPressed
calling, the button stops to react to future clicks.
But, if you remove modifier = Modifier.fillMaxSize()
, everything works fine.
PS. I'm using 1.0.4 version1.1.0-beta04
solved the issue 🤪
Maybe this resolve yours?colintheshots
12/12/2021, 2:31 AM1.1.0-beta04
seems to cause more problems than it fixes currently. It breaks our end-to-end tests. But maybe I can mess with it.Alex
12/15/2021, 5:22 PM.pointerInteropFilter {
false
}
to the modifier of the Column or LazyColumn fixes the issue on beta03@OptIn(ExperimentalComposeUiApi::class)
fun Modifier.beta03unresponsivenessFix() = pointerInteropFilter {
// TODO: compose-beta03: This fixes the unresponsiveness issues where clicks are not registered
false
}
jossiwolf
12/15/2021, 7:15 PMcolintheshots
12/15/2021, 7:48 PMmatvei
12/16/2021, 2:45 PM