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

Exit intent Fires on Input AutoComplete suggestions mouse hover #4

Open
brzane opened this issue Feb 14, 2023 · 8 comments
Open

Exit intent Fires on Input AutoComplete suggestions mouse hover #4

brzane opened this issue Feb 14, 2023 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@brzane
Copy link

brzane commented Feb 14, 2023

I'm facing a problem with the exit intent hook that when the user clicks on an input and tries to select from the browser autoComplete suggestions it fires , i want it to fire only when he tries to move outside the page , it seems that it the hook treats the autoCompelete as outside the page

@daltonmenezes
Copy link
Owner

Hi @brzane , could you please provide a reproducible example? Also, what browser are you testing?

@danielrmartins
Copy link

For me too, in Google Chrome. When the browser suggests autoComplete on the input

@daltonmenezes
Copy link
Owner

@danielrmartins what's your operating system?

@danielrmartins
Copy link

danielrmartins commented Mar 7, 2023

Linux - Ubuntu

@danielrmartins
Copy link

danielrmartins commented Mar 7, 2023

On Windows, this issue doesn't occur 🎉

@daltonmenezes
Copy link
Owner

@danielrmartins @brzane
I believe this is an OS thing and how they deal with windows and elements like autofill popups and etc treating them like something outside the main window focus, so when the focus came back to the main window the hook fire!

Perhaps this is an unsolved case, the reason: #1

If anyone has a viable way to solve it so as not to break what was solved on #1, please, I'll be grateful if you send a PR. 💜

@daltonmenezes daltonmenezes added the help wanted Extra attention is needed label Mar 11, 2023
@danielrmartins
Copy link

Unfortunately, this problem occurs in Windows OS too

@daltonmenezes
Copy link
Owner

@brzane @danielrmartins Here it is working as expected!

Gravacao.de.Tela.2023-08-04.as.23.00.05.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants