Zoltan Demant
08/30/2021, 1:57 PMselectableItemBackground on the parent rather than child view in XML). If I specify a clickable composable around the button, the button will still grab focus (even if I mute its ripple effect through Modifier.clickable). I can acheive it by using a Text instead of Button since it wouldnt be clickable, but then Id have to continiously mimic the button style exactly in the text composable.Zach Klippenstein (he/him) [MOD]
08/30/2021, 4:53 PMTextButton?Zoltan Demant
08/30/2021, 5:03 PMFelix Schütz
08/30/2021, 5:08 PMcontentPadding argument, with which you can apply padding to the clickable area.Zach Klippenstein (he/him) [MOD]
08/30/2021, 5:26 PMZoltan Demant
08/31/2021, 4:13 AMCompositionLocal and providing a different indication (copy of NoIndication) but the original ripple was still there. Following the same route, I also tried specifying a custom MutableInteractionSource which didnt emit anything, this stopped the ripple effects, but the button is still clickable. Effectively I can get the whole area to be clickable with the proper ripple effect now, but the buttons area will still steal the click event.