-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: mouseLeaveDelayInSeconds option for desktop #12
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
369f6f0
to
1fed0ee
Compare
Hi @baodoan , thanks. Could you please perform a |
Thanks @daltonmenezes Just pulled and updated the PR. |
mouseLeaveDelayInSeconds
to theDesktopOptions
interfaceuseEffect
hook to handle the new behaviorThis change helps prevent premature triggering of exit intent actions, especially useful for pages with longer load times or when users might accidentally move their mouse outside the window shortly after page load.
Example