this behavior is common. I couldn't find any online resources to do this in compose.
j
József Szilvási
11/13/2020, 9:02 AM
Modifier.clickable(indication = null)
b
bharat to
11/13/2020, 9:08 AM
Thanks, this is working for
Modifier.clickable
. The indication parameter is not there for
*Button
. Can we do it for
IconButton
and
CheckBox
bharat to
11/13/2020, 9:19 AM
I guess we should implement custom component then.
m
Mark Murphy
11/13/2020, 1:10 PM
If the composables that you are using are in the
material
package (e.g.,
IconButton()
), they will follow Material Design rules and usually do not offer ways of opting out. You will need to look at their implementations and see if they are based on other composables less tied to Material Design.