diff --git a/components/lib/listbox/ListBox.js b/components/lib/listbox/ListBox.js index 0793d04b20..803505ec0b 100644 --- a/components/lib/listbox/ListBox.js +++ b/components/lib/listbox/ListBox.js @@ -128,10 +128,10 @@ export const ListBox = React.memo( originalEvent: event, value, stopPropagation: () => { - event.stopPropagation(); + event?.stopPropagation(); }, preventDefault: () => { - event.preventDefault(); + event?.preventDefault(); }, target: { name: props.name, @@ -509,10 +509,10 @@ export const ListBox = React.memo( originalEvent: event, value, stopPropagation: () => { - event.stopPropagation(); + event?.stopPropagation(); }, preventDefault: () => { - event.preventDefault(); + event?.preventDefault(); }, target: { name: props.name,