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({
|
useListenClickOutside({
|
||||||
refs: [floatingUiRefs.floating, floatingUiRefs.domReference],
|
refs: [floatingUiRefs.floating, floatingUiRefs.domReference],
|
||||||
listenerId: dropdownId,
|
listenerId: dropdownId,
|
||||||
|
excludeClassNames: ['confirmation-modal'],
|
||||||
callback: (event) => {
|
callback: (event) => {
|
||||||
if (activeDropdownFocusId !== dropdownId) return;
|
if (activeDropdownFocusId !== dropdownId) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user