LocalMinimumInteractiveComponentEnforcement

val LocalMinimumInteractiveComponentEnforcement: ProvidableCompositionLocal<Boolean>

Deprecated

Use LocalMinimumInteractiveComponentSize with Dp.Unspecified to turn off enforcement instead.

Replace with

LocalMinimumInteractiveComponentSize

CompositionLocal that configures whether Material components that have a visual size that is lower than the minimum touch target size for accessibility (such as Button) will include extra space outside the component to ensure that they are accessible. If set to false there will be no extra space, and so it is possible that if the component is placed near the edge of a layout / near to another component without any padding, there will not be enough space for an accessible touch target.