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

fix: [#1464] Fix react click handler with preventDefault on anchor not preventing navigation #1465

Merged

Conversation

amitdahan
Copy link
Contributor

Closes #1464

@amitdahan
Copy link
Contributor Author

Was really not sure about the eventual solution, but it seemed to do the trick and all other tests remain passing.

Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution @amitdahan! 🌟

@capricorn86 capricorn86 merged commit 8da51ee into capricorn86:master Jun 20, 2024
4 checks passed
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 this pull request may close these issues.

React onClick handler with preventDefault() on an anchor tag does not prevent navigation
2 participants