---
title: interactively
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/scrolldismisseskeyboardmode/interactively
---

# interactively

Enable people to interactively dismiss the keyboard as part of the scroll operation.

## Declaration

```swift
static var interactively: ScrollDismissesKeyboardMode { get }
```

## Discussion

Discussion The software keyboard’s position tracks the gesture that drives the scroll operation if the gesture crosses into the keyboard’s area of the display. People can dismiss the keyboard by scrolling it off the display, or reverse the direction of the scroll to cancel the dismissal.

## See Also

### Getting modes

- [automatic](swiftui/scrolldismisseskeyboardmode/automatic.md)
- [immediately](swiftui/scrolldismisseskeyboardmode/immediately.md)
- [never](swiftui/scrolldismisseskeyboardmode/never.md)
