<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ScrollDismissesKeyboardMode/interactively",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI27ScrollDismissesKeyboardModeV13interactivelyACvpZ"
  },
  "title" : "interactively"
}
-->

# interactively

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)