feat(combobox): trigger menu on focus

This commit is contained in:
Paul Chavard 2024-07-12 17:44:12 +02:00
parent fe37f1acfe
commit 00df0305fd
No known key found for this signature in database

View file

@ -48,6 +48,7 @@ export function ComboBox({
<AriaComboBox
{...props}
className={`fr-ds-combobox ${className ?? ''}`}
menuTrigger="focus"
shouldFocusWrap={true}
>
{label ? <Label className="fr-label">{label}</Label> : null}