Fix for clicking on elements inside the trigger (for example icons) closing the overlay