← Back to Compose UI
DisableSelection
Component
in
Compose UI
. Since 1.0.0-alpha05Overview
Code Examples
Video
Disables text selection for it's direct or indirection children. To use this, simply add this to wrap one or more text composables.
Overloads
DisableSelection
@Composable
fun DisableSelection(content: @Composable () -> Unit)