Do I understand it right that `LocalMinimumTouchTa...
# compose
d
Do I understand it right that
LocalMinimumTouchTargetEnforcement
is working only on material3 components? What is the correct way to add similar functionality to a composable not based on Material component? For example I have custom button of height 32.dp and I want to add invisible touch area around it to make effective touch area of 48.dp height.
c
The modifier used for this in Material 3 is just a few lines of code. I think its safe to copy this into your source and use this on your custom widgets https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]2Fsupport:compose%2Fmaterial%2Fmaterial%2Fsrc%2FcommonMain%2F
d
Thanks, I'll try!