interactionBehavior property

GlassInteractionBehavior interactionBehavior
final

Controls which press-interaction effects are active on this field.

Mirrors the API on GlassBottomBar and GlassSearchableBottomBar for a consistent developer experience across all glass surfaces:

Value Glow Scale-on-focus
none
glowOnly
scaleOnly
full (default)

Glow — the iOS 26-style directional spotlight that tracks the touch position across the glass surface.

Scale — the subtle press-bounce animation (pressScale) that fires when the user presses down on the field, then springs back on release, matching iOS 26 touch feedback.

Defaults to GlassInteractionBehavior.full, preserving the existing visual behaviour.

Implementation

final GlassInteractionBehavior interactionBehavior;