Skip to content

Commit 8adcf72

Browse files
committed
opt customselect out of context menu autofocus
1 parent c2610dd commit 8adcf72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/CustomSelect/CustomSelect.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ const CustomSelect = ({
178178
.join(" ")}
179179
aria-errormessage={hasError ? validationId : undefined}
180180
aria-invalid={hasError}
181+
focusFirstItemOnOpen={false}
181182
toggleClassName={classNames(
182183
"p-custom-select__toggle",
183184
"p-form-validation__input",

0 commit comments

Comments
 (0)