Source set: Android
public class AutoClearFocusBehavior private constructor(private val value: Int)
Members
Companion
Source set: Android
public companion object
Properties
None
Source set: Android
public val None: AutoClearFocusBehavior
Interacting with this ComposeView won't automatically clear focus.
CursorBased
Source set: Android
public val CursorBased: AutoClearFocusBehavior
When interacting with this ComposeView with a cursor-based input device, a pointer down event that occurs outside the currently focused item will result in focus being cleared.
This results in a UX experience where clicking with a mouse or touchpad outside of the currently focused item will clear focus, even if that item is focusable in touch mode. This does not apply to stylus input.
Default
Source set: Android
public val Default: AutoClearFocusBehavior
The default AutoClearFocusBehavior. This value is currently CursorBased, but this is subject to change.