Does anyone know how I should customize the `Selec...
# compose
n
Does anyone know how I should customize the
SelectionContainer
interface?
s
Can you elaborate on customize?
n
There is a simple example like this:
BTW,I also found a problem, if a Text on the interface has a text value of "", there is an error when you long press
s
If it is about updating the selected text menu, afaik it is not doable right now
n
ok! thanks
s
For the error you mentioned (empty text) is it possible for you to create a bug? I know a recently fixed issue where it would crash.
(it was in a public ticket)
n
@Siyamed
Copy code
Surface(
    color = Color.White,
    elevation = 5.dp,
    modifier = Modifier
        .fillMaxSize()
        .height(100.dp)
) {
    SelectionContainer{
        Text(
            text = "",
        )
    }
}
When I long touch a "" Text, this error occurs
s
Thanks. Empty text long click was very recently (within a week or so) fixed.
👍 1
n
will it be updated with the beta-07 version when it comes out?
Apparently it is not merged yet