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

Mikael Alfredsson

12/21/2021, 9:20 PM
Hi. I have a button (well a Row with click modifier). That button triggers a AnimatedContent in an area next to it. As soon as the AnimatedContent starts to animate, the ripple effect disappears. (so for a short tap, you wont see any ripple at all). Another of the same button that does not trigger a new animation works as expected, i.e the animation ripples to the edges of the button before it fades away. Is this something I have done, or is it “works as designed”? (a Button() seems to remember the ripple even during a recompose, can this be emulated with a Box or Row?)