Fix click outside dropdown content confirmation modal (#11702)
# Introduction Closes https://github.com/twentyhq/twenty/issues/11674
This commit is contained in:
@ -82,6 +82,7 @@ export const DropdownContent = ({
|
||||
useListenClickOutside({
|
||||
refs: [floatingUiRefs.floating, floatingUiRefs.domReference],
|
||||
listenerId: dropdownId,
|
||||
excludeClassNames: ['confirmation-modal'],
|
||||
callback: (event) => {
|
||||
if (activeDropdownFocusId !== dropdownId) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user