---
title: sizeChanges
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/scrollanchorrole/sizechanges
---

# sizeChanges

The role that influences how a scroll view should adjust its content offset when the scroll view’s content or container size changes.

## Declaration

```swift
static var sizeChanges: ScrollAnchorRole { get }
```
