---
title: "LocalOverscrollConfiguration"
description: "Composition local to provide configuration for scrolling containers down the hierarchy. `null`
means there will be no overscroll at all."
type: "property"
---

<div class='type'>Property</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


> **Deprecated** Providing `OverscrollConfiguration` through `LocalOverscrollConfiguration` to disable / configure overscroll has been replaced with `LocalOverscrollFactory` and `rememberPlatformOverscrollFactory`. To disable overscroll, instead of `LocalOverscrollConfiguration provides null`, use `LocalOverscrollFactory provides null`. To change the glow color / padding, instead of `LocalOverscrollConfiguration provides OverscrollConfiguration(myColor, myPadding)`, use `LocalOverscrollFactory provides rememberPlatformOverscrollFactory(myColor, myPadding)`

```kotlin
@ExperimentalFoundationApi
val LocalOverscrollConfiguration =
compositionLocalOf<OverscrollConfiguration?> { OverscrollConfiguration() }
```


Composition local to provide configuration for scrolling containers down the hierarchy. `null`
means there will be no overscroll at all.



