---
title: ScrollInputBehavior
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/scrollinputbehavior
---

# ScrollInputBehavior

A type that defines whether input should scroll a view.

## Declaration

```swift
struct ScrollInputBehavior
```

## Topics

### Type Properties

- [automatic](swiftui/scrollinputbehavior/automatic.md)
- [disabled](swiftui/scrollinputbehavior/disabled.md)
- [enabled](swiftui/scrollinputbehavior/enabled.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Managing scrolling for different inputs

- [scrollInputBehavior(_:for:)](swiftui/view/scrollinputbehavior(_:for:).md)
- [ScrollInputKind](swiftui/scrollinputkind.md)
