Skip to content
Entangle UI v0.13.0

ChatMessageListScrollApi

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:568

Imperative scroll API exposed by ChatMessageList via scrollApiRef.

Use this when you need to drive scroll position from outside — e.g., “scroll to message X” triggered by a search panel, or a “jump to top” action button.

isAtBottom: () => boolean

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:576

Whether the user is currently scrolled to the bottom.

boolean


scrollTo: (options) => void

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:572

Scroll the container to an arbitrary position.

ScrollToOptions

void


scrollToBottom: (behavior?) => void

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:570

Scroll to the bottom of the message list.

ScrollBehavior

void


scrollToElement: (el, options?) => void

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:574

Scroll a specific element into view inside the container.

HTMLElement

ScrollIntoViewOptions

void