Hi, Is there any way to enable this cursor handle ...
# compose
u
Hi, Is there any way to enable this cursor handle in OutlinedTextField to allow convenient dragging of cursor across characters? Two cursor handle seem to appear on long press but I want to single handle for short tap and drag.
z
It should appear on single short tap, can you send a screen recording? Which version of compose and android is this?
u
Hi, Thank you for your response. I am on compose
1.0.5
The following video was recorded on Pixel4a with Android 12:
And sorry, I made a mistake in the original message. I am using
BasicTextField
for the above search input implementation:
Copy code
BasicTextField(
    value = textFieldValue,
    onValueChange = onValueChange,
    keyboardActions = KeyboardActions(onSearch = onSearch),
    keyboardOptions = KeyboardOptions(
        imeAction = ImeAction.Search
    ),
    singleLine = true,
    cursorBrush = SolidColor(DsColors.textPrimary),
    textStyle = textStyle
)
z
Please file a bug
🙆‍♂️ 1
🙏 1
u
c
One person brings up that they can't get rid of the handle, and another brings up that the handle won't show up. @ zach 😂
z
I need to get a handle on these bugs
😂 1