```val context = LocalContext.current Box( modif...
# compose
n
Copy code
val context = LocalContext.current
Box(
  modifier = Modifier
    .width(200.dp)
    .height(120.dp)
    .background(Color.Gray)
    .clickable {
      Toast.makeText(context, "Clicked", Toast.LENGTH_LONG).show()
    }
) {
  BasicTextField(
    state = rememberTextFieldState(),
    decorator = {
      Box(Modifier.border(1.dp, Color.Red)) {
        it()
      }
    }
  )
}
I found a problem with
BasicTextField
. In the video, it seems that the CJK language triggers the clickable event of the parent layout after hitting the Enter button, but English doesn't get this error 🤔
z
Please file a bug
👌 1
n
https://issuetracker.google.com/issues/310273079 I think this question might be similar to this one