| Prop | Default | Type |
|---|---|---|
as | 'div' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
dir | 'ltr' | 'rtl'The reading direction of the combobox when applicable. | |
scrollHideDelay | 600 | numberIf type is set to either |
type | 'hover' | 'always' | 'scroll' | 'hover' | 'auto'Describes the nature of scrollbar visibility, similar to how the scrollbar preferences in MacOS control visibility of native scrollbars.
|
| Methods | Type |
|---|---|
scrollTop | () => voidScroll viewport to top |
scrollTopLeft | () => voidScroll viewport to top-left |
