<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ScrollContentOffsetAdjustmentBehavior/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI37ScrollContentOffsetAdjustmentBehaviorV9automaticACvpZ"
  },
  "title" : "automatic"
}
-->

# automatic

The automatic behavior.

```
static var automatic: ScrollContentOffsetAdjustmentBehavior { get }
```

## Discussion

A scroll view may automatically adjust its content offset
based on the current context. The absolute offset may be adjusted
to keep content in relatively the same place. For example,
when scrolled to the bottom, a scroll view may keep the bottom
edge scrolled to the bottom when the overall size of its content
changes.

---

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)