Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Hi,
I also see my text cut off when I set maxLines = 2
. Is it the same issue?
Box(
modifier =
Modifier.size(
width = 108dp,
height = 34dp,
),
contentAlignment = Alignment.Center,
) {
BasicText(
text = "text text text",
maxLines = 2,
autoSize = AutoSize.StepBased(minFontSize = 1.sp, maxFontSize = 13.sp, stepSize = 0.2.sp),
)
}
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
.