UNPKG

downshift

Version:

🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.

7 lines (6 loc) 295 B
/** * Scroll node into view if necessary * @param {HTMLElement} node the element that should scroll into view * @param {HTMLElement} menuNode the menu element of the component */ export declare function scrollIntoView(node: HTMLElement | undefined, menuNode: HTMLElement | undefined): void;