louiscad
10/27/2020, 10:16 PMText
is no longer selectable by default. How can we make it selectable again?Siyamed
10/27/2020, 10:17 PMlouiscad
10/27/2020, 10:28 PMSelectionContainer(selection = null, onSelectionChange = {}) { … }
but while I can select the text, I can't do anything with it, there's no popup/toolbar appearing above… why is it not there by default and is there a way to get that popup/toolbar?Siyamed
10/27/2020, 10:29 PMSiyamed
10/27/2020, 10:30 PMSiyamed
10/27/2020, 10:30 PMSiyamed
10/27/2020, 10:31 PMlouiscad
10/27/2020, 10:33 PMselection
though since I just want text from the composition to be selectable, regardless of what it is.Siyamed
10/27/2020, 10:34 PMZach Klippenstein (he/him) [MOD]
10/27/2020, 10:36 PMvar selection: Selection? by remember { mutableStateOf(null) }
SelectionContainer(selection = selection, onSelectionChange = { selection = it }) { … }
IIRClouiscad
10/27/2020, 10:40 PMEnableTextSelectionByDefault { … }
or alike wrapper if Text
is no longer selectable by default?
Having to declare a variable and configuring the thing isn't very intuitive to meSiyamed
10/27/2020, 10:42 PMSiyamed
10/27/2020, 10:42 PMlouiscad
10/27/2020, 10:42 PMlouiscad
10/27/2020, 10:43 PMSiyamed
10/27/2020, 10:44 PMSiyamed
10/27/2020, 10:44 PMSiyamed
10/27/2020, 10:44 PMlouiscad
10/27/2020, 10:45 PMlouiscad
10/27/2020, 10:46 PMonSelection
callback for the non smart selection related things?louiscad
10/27/2020, 10:47 PMSiyamed
10/27/2020, 10:48 PM