https://kotlinlang.org logo
#compose
Title
# compose
k

Kevin Hester

02/17/2020, 5:49 PM
Hmm - it seems the cursor in TextField is always black (rather than being white if using a dark palette). Also it doesn't seem to blink. Am I doing something wrong?
Copy code
TextField(
    value = message.value,
    onValueChange = { message.value = it },
    textStyle = TextStyle(
        color = colors.onSecondary.copy(alpha = 0.8f)
    ),
    imeAction = ImeAction.Send,
    onImeActionPerformed = {
        <http://MessagesState.info|MessagesState.info>("did IME action")
    },
    modifier = LayoutPadding(4.dp)
)
I just went ahead and filed a bug: https://issuetracker.google.com/issues/149663396