Currently if the same InteractionState is added in two places that both add the same Interaction (such as Modifier.clickable), both components will remove each other's Interaction. Instead we should ensure that both producers must remove their state before the Interaction is removed from the InteractionState.
Description
Currently if the same InteractionState is added in two places that both add the same
Interaction
(such asModifier.clickable
), both components will remove each other'sInteraction
. Instead we should ensure that both producers must remove their state before theInteraction
is removed from theInteractionState
.