Interface RequestFocusOptions

Options of the requestFocus function.

interface RequestFocusOptions {
    isScrollPrevented?: boolean;
}

Hierarchy (view full)

Properties

isScrollPrevented?: boolean

If true no scrolling will occur after element receives focus, otherwise the browser scrolls the document to bring the newly-focused element into view.

false