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

bug fix: prevent Link onClick firing when modal is clicked #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stellard
Copy link

@stellard stellard commented Sep 7, 2020

Hi.

I was having issue with the onClick handler for the Link being fired when I clicked the open modal.

This was especially a problem when I tried to use the closeModal function within the Modal since immediately after it was called, the Link onClick was also fired sending the router right back to the modal path.

Hope this helps other people.

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.

1 participant