use-exit-intent icon indicating copy to clipboard operation
use-exit-intent copied to clipboard

Delay for Modal Trigger on Desktop Mouse Leave

Open baodoanjl opened this issue 5 months ago • 0 comments

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.

baodoanjl avatar Sep 05 '24 23:09 baodoanjl