mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
Fix click handling in nested modals
This commit is contained in:
@@ -67,7 +67,7 @@ export const handleOutsideClick = (
|
||||
const endedInside = isInside(target);
|
||||
// Clicked inside of one of container elements - stop processing
|
||||
if (startedInside || endedInside) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
// Stop processing if requested by handler function
|
||||
return handler(target);
|
||||
|
||||
Reference in New Issue
Block a user