Is there any way to get the text currently highlig...
# compose
t
Is there any way to get the text currently highlighted by a user in a
Text
composable (or any variation thereof)? I'm currently using a
Text
composable wrapped inside
SelectionContainer
, however due to the fact that
LocalSelectionRegistrar
of
SelectionContainer
and such are
internal
there does not seem to be a way to find the currently highlighted text.
b
s
There is an existing bug named "selection api" if you search for it. Please star/vote ir
b
t
Thank you 🙂