---
title: cancelAutoscroll()
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: browserenginekit/betextinput/cancelautoscroll()
---

# cancelAutoscroll()

Indicates that the current autoscroll gesture is complete.

## Declaration

```swift
func cancelAutoscroll()
```

## Mentioned in

Integrating custom browser text views with UIKit

## Discussion

Discussion When the text system calls this method on your text view, there are no more calls to autoscroll(to:) for the current text interaction gesture.
