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


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


<h2 id="stopscroll-scrollpriority">stopScroll</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
suspend fun ScrollableState.stopScroll(scrollPriority: MutatePriority = MutatePriority.Default)
```


Stop and suspend until any ongoing animation, smooth scrolling, fling, or any other scroll
occurring via `ScrollableState.scroll` is terminated.

#### Parameters

| | |
| --- | --- |
| scrollPriority | scrolls that run with this priority or lower will be stopped |






<hr class="docs-overload-divider">


<h2 id="stopscroll-scrollpriority-2">stopScroll</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
suspend fun Scrollable2DState.stopScroll(scrollPriority: MutatePriority = MutatePriority.Default)
```


Stop and suspend until any ongoing animation, smooth scrolling, fling, or any other scroll
occurring via `ScrollableState.scroll` is terminated.

#### Parameters

| | |
| --- | --- |
| scrollPriority | scrolls that run with this priority or lower will be stopped |