Contents

ScrollBounceBehavior

The ways that a scrollable view can bounce when it reaches the end of its content.

Declaration

struct ScrollBounceBehavior

Overview

Use the scrollBounceBehavior(_:axes:) view modifier to set a value of this type for a scrollable view, like a ScrollView or a List. The value configures the bounce behavior when people scroll to the end of the view’s content.

You can configure each scrollable axis to use a different bounce mode.

Topics

Bounce behaviors

See Also

Configuring scroll bounce behavior