does the textfield broken? When I click THE outsid...
# compose
r
does the textfield broken? When I click THE outside part of textfield, the IME is not folded
n
well, android always worked that way
I think this is an iOS behavior
r
but the old version of compose works
it works on beta07
but not work on beta08
n
I just tried with beta7 and it's not working
EDIT with this sample :
Copy code
Surface(Modifier.fillMaxSize()) {
    TextField(value = "test", onValueChange = { }, modifier = Modifier.wrapContentHeight())
}
I pressed the field (IME appears), then clicked the surface outside the textfield, the IME stays
sorry, my sample is wrong 🙂 forget what I said
OK so it was my thought initially
it happens because of this change @RE : https://developer.android.com/jetpack/androidx/releases/compose-material#1.0.0-beta08
BEHAVIOUR-BREAKING: Surface now consumes clicks, making clicks added via
Surface(Modifier.clickable)
to be a no-op. Please, use new experimental overload of Surface that accepts onClick. (I73e6c, b/183775620)
If you put your textfield in a Box, the behavior is the same than beta07. Which means the IME will disappears when clicked outside, unless the area clicked is a "clickable" area you should fill a bug report to discuss this
a