jquery.exitintent icon indicating copy to clipboard operation
jquery.exitintent copied to clipboard

Exitintent is triggering even when trying to select item from select list.

Open mkhalid03 opened this issue 7 years ago • 3 comments

If you have form with select list on web page. And when you will try to choose the option from Select list. Exitintent event will be trigger.

mkhalid03 avatar May 29 '18 14:05 mkhalid03

@mkhalid03, which browser/OS?

flaviovs avatar May 29 '18 16:05 flaviovs

Firefox/ Mac OS Sierra Working fine in chrome.

mkhalid03 avatar May 29 '18 16:05 mkhalid03

Wrapping the $.event.trigger('exitintent'); inside an if to check the target length within the timer fixes the problem for me;

if (ev.target.length === undefined) {
$.event.trigger('exitintent');
}

matchboxhero avatar Sep 25 '18 12:09 matchboxhero