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

Delay for Modal Trigger on Desktop Mouse Leave #11

Open
baodoanjl opened this issue Sep 5, 2024 · 0 comments · May be fixed by #12
Open

Delay for Modal Trigger on Desktop Mouse Leave #11

baodoanjl opened this issue Sep 5, 2024 · 0 comments · May be fixed by #12

Comments

@baodoanjl
Copy link

Hi @daltonmenezes! Thanks for the great module.

I was wondering if it’s possible to add an option to set a delay threshold before the modal pops up on a mouse leave event for desktop users?

The reason is that sometimes the user’s mouse leaves the window while the page is still loading, causing the modal to appear immediately when loaded. Having a delay could help prevent this from happening.

@daltonmenezes daltonmenezes linked a pull request Sep 13, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant