Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mkhalid03 opened this issue May 29, 2018 · 3 comments

Comments

@mkhalid03
Copy link

mkhalid03 commented May 29, 2018

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.

@flaviovs
Copy link
Owner

@mkhalid03, which browser/OS?

@mkhalid03
Copy link
Author

mkhalid03 commented May 29, 2018

Firefox/ Mac OS Sierra
Working fine in chrome.

@matchboxhero
Copy link

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');
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants