# AncestorScrollPaddingCallback

typedef

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/dom/scroll.ts#L246)

#### Parameters

* `ancestor: HTMLElement`

  The ancestor that is about to be checked or scrolled.

#### Returns

* `AncestorScrollPadding | null`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
