https://kotlinlang.org logo
#compose-android
Title
# compose-android
m

Mark

12/08/2023, 8:28 AM
When using
SelectionContainer
across multiple composables, how do you add a dummy separator (to appear in selected text) between composables? Use a hidden
Text
composable? Or is there a less hacky way?
z

Zach Klippenstein (he/him) [MOD]

12/08/2023, 7:47 PM
I don’t think this has ever come up before. Please file a feature request. Note that we’re aware the whole selection container api needs a lot of love, so this likely won’t be supported in the super near future, but good input for when we get around to this project.
m

Mark

12/09/2023, 3:56 AM
Thanks @Zach Klippenstein (he/him) [MOD]. Is this the best place for that? https://issuetracker.google.com/issues?q=status:open%20componentid:779818 I’ve posted a few issues here recently and also noticed there are not many responses to issues there generally.
It’s loosely related to https://issuetracker.google.com/issues/315592279 although that one is more about paragraphs within a single component as opposed to multiple components potentially each representing a paragraph. Although my suggestion is more generic than that.