Skip to content

Commit

Permalink
[Select][base] Fix typo in listbox blur event handler (#34120)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
ZeeshanTamboli committed Aug 29, 2022
1 parent 32a1516 commit 524233c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-base/src/SelectUnstyled/useSelect.ts
Expand Up @@ -153,7 +153,7 @@ function useSelect<TValue>(props: UseSelectParameters<TValue>) {

const createHandleListboxBlur =
(otherHandlers?: Record<string, React.EventHandler<any>>) => (event: React.FocusEvent) => {
otherHandlers?.blur?.(event);
otherHandlers?.onBlur?.(event);
if (!event.defaultPrevented) {
onOpenChange?.(false);
}
Expand Down

0 comments on commit 524233c

Please sign in to comment.