We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When user presses reload btn in browser, the handler is fired but the page then gets refreshed. We need to prevent the default event here -
use-exit-intent/packages/use-exit-intent/src/index.ts
Line 191 in 1b82423
Reference - https://github.com/streamich/react-use/blob/e1d0cd9f7fb2a124a9d46879489abfefdf48d836/src/useBeforeUnload.ts#L13C7-L13C29
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When user presses reload btn in browser, the handler is fired but the page then gets refreshed. We need to prevent the default event here -
use-exit-intent/packages/use-exit-intent/src/index.ts
Line 191 in 1b82423
Reference - https://github.com/streamich/react-use/blob/e1d0cd9f7fb2a124a9d46879489abfefdf48d836/src/useBeforeUnload.ts#L13C7-L13C29
The text was updated successfully, but these errors were encountered: