Fix click outside dropdown content confirmation modal (#11702)

# Introduction
Closes https://github.com/twentyhq/twenty/issues/11674
This commit is contained in:
Paul Rastoin
2025-04-23 16:23:15 +02:00
committed by GitHub
parent 1333c64d98
commit f2828883ad

View File

@ -82,6 +82,7 @@ export const DropdownContent = ({
useListenClickOutside({
refs: [floatingUiRefs.floating, floatingUiRefs.domReference],
listenerId: dropdownId,
excludeClassNames: ['confirmation-modal'],
callback: (event) => {
if (activeDropdownFocusId !== dropdownId) return;