Merge pull request #10606 from tchak/menu-combobox

feat(combobox): trigger menu on focus
This commit is contained in:
LeSim 2024-07-12 18:36:07 +02:00 committed by GitHub
commit 2e13943c5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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