-
-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
component: comboboxChanges related to the combobox component.Changes related to the combobox component.type: bugIt doesn't behave as expected.It doesn't behave as expected.typescript
Description
Bug report
Current behavior
The Combobox type refers to an HTMLDivElement, but the props type refers to a span
Expected behavior
Presumably both align on span as per the comment above?
Reproducible example
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
/**
* An icon that indicates that the trigger button opens the popup.
* Renders a `<span>` element.
*/
export declare const ComboboxIcon: React.ForwardRefExoticComponent<Omit<ComboboxIconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
export interface ComboboxIconState {}
export interface ComboboxIconProps extends BaseUIComponentProps<'span', ComboboxIcon.State> {}Base UI version
1.1.0
Which browser are you using?
NA
Which OS are you using?
NA
Which assistive tech are you using (if applicable)?
None
Additional context
Hooman-studio and flaviendelangle
Metadata
Metadata
Assignees
Labels
component: comboboxChanges related to the combobox component.Changes related to the combobox component.type: bugIt doesn't behave as expected.It doesn't behave as expected.typescript