> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# ScrollSelectionIntoViewFunction

> **ScrollSelectionIntoViewFunction** = (`editor`, `domRange`) => `void`

Defined in: packages/editor/src/types/editor.ts:278

:::caution[Beta]
This API should not be used in production and may be trimmed from a public release.
:::

## Parameters

### editor

[`PortableTextEditor`](/api/editor/classes/portabletexteditor/)

### domRange

`globalThis.Range`

## Returns

`void`