# Updated EditableText scroll into view behavior

> Improve EditableText selection scroll into view behavior to always use the current selection extent.




:::important
These breaking change docs are accurate, as of the release
under which they are published. Over time, the
workarounds described here might become inaccurate.
We don't, in general, keep these breaking change docs up
to date as of each release.

The [breaking change index file](/release/breaking-changes)
lists the docs created for each release.
:::


## Summary

The `Editable.onCaretChanged` callback is removed. With this change,
`EditableText` behavior for scrolling the selection into view
changes.

## Context

Previously, upon scrolling into view to show user updates, `EditableText`
used multiple mechanisms to determine the extent of the selection or the
caret location.

## Description of change

By removing the `Editable.onCaretChanged` callback, `EditableText` will always
use the most up-to-date selection extent location when scrolling to show it.
Specifically, this improves scroll into view behavior after
changing selection from collapsed to non-collapsed using
`userUpdateTextEditingValue()`.

## Timeline

Landed in version: 3.12.0-4.0.pre<br>
In stable release: 3.13.0

## References

API documentation:

* [`EditableText`](https://api.flutter.dev/flutter/widgets/EditableText-class.html)

Relevant PRs:

* [109114: Remove Editable.onCaretChanged callback](https://github.com/flutter/flutter/pull/109114)

