# Overscroll animations in Jetpack Compose

DevFeed: [Overscroll animations in Jetpack Compose](<https://devfeed.tech/articles/overscroll-animations-in-jetpack-compose-25795.md>)

Original publisher: [Read original article](<https://www.sinasamaki.com/overscroll-animations-in-jetpack-compose/>)

Author: sinasamaki

Published: 2024-07-12T07:11:09Z

Content type: tutorial

Language: en

Sources: [sinasamaki](<https://devfeed.tech/sources/sinasamaki.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [animations](<https://devfeed.tech/topics/animations.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [article](<https://devfeed.tech/tags/article.md>), [bounce](<https://devfeed.tech/tags/bounce.md>), [compose](<https://devfeed.tech/tags/compose.md>), [custom](<https://devfeed.tech/tags/custom.md>), [effect](<https://devfeed.tech/tags/effect.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [nested](<https://devfeed.tech/tags/nested.md>), [pager](<https://devfeed.tech/tags/pager.md>), [scrolling](<https://devfeed.tech/tags/scrolling.md>)

## AI overview

The article presents a workaround for adding custom overscroll animations to Jetpack Compose LazyLists and pagers, whose composables do not expose the customization parameter available for scrollable lists built with the standard API. It proposes a modifier using nested scrolling to capture scroll direction and overscroll distance, then drive an animation; the example applies the value as an offset to create a bounce, with a rubber-band curve and configurable settling timing. The excerpt frames this as a workaround and points to an issue report for native support. It ends during the NestedScrollConnection section, so implementation details beyond this setup are not available.

## Source excerpt

Add bouncy overscroll animations to all your scrolling elements