daltonmenezes / use-exit-intent

🐠 A React Hook to handle exit intent strategies
https://use-exit-intent.daltonmenezes.com
MIT License
83 stars 6 forks source link

Exit intent handler fires automatically when the page is loaded on Mac #5

Open RagulRaj-S opened 1 year ago

RagulRaj-S commented 1 year ago

I have integrated the exit intent handler into a website. It works fine in windows. But when it comes to Mac, the exit intent is working correctly if I type the website's URL directly in chrome. But when I click the website's URL in Slack/WhatsApp, after the page is loaded in the browser, the exit intent is firing automatically on mouse movement itself.

daltonmenezes commented 1 year ago

@RagulRaj-S Here it is working as expected!

https://github.com/daltonmenezes/use-exit-intent/assets/1149845/37a82c82-9b09-4027-8de9-ff6a209138cc