I encountered this issue in compose desktop. I add...
# compose-desktop
j
I encountered this issue in compose desktop. I added SelectionContainer to each item in LazyColumn. And after selecting, scrolling up and down, the error occurred:
Copy code
java.lang.IllegalArgumentException: Another selectable with the id: androidx.compose.foundation.text.selection.MultiWidgetSelectionDelegate@4c3d1aa6.selectableId has already subscribed.
	at androidx.compose.foundation.text.selection.SelectionRegistrarImpl.subscribe(SelectionRegistrarImpl.kt:105)
...
c
have you set keys for your items?
j
nope, it will cause this issue?
I set keys but didn’t work