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

modal component -evt.preventDefault() & stopPropagation() interfering with <a href inside the modal #1

Open
vzR opened this issue May 17, 2018 · 0 comments

Comments

@vzR
Copy link

vzR commented May 17, 2018

Hello,

While following the course, I added an <a> tag with href='some_url', with the purpose of being able to go to that url upon clicking the button inside the modal;
The problem is that every click is met by the 'cancelClick()' function inside the component, which stops any event taking place; I'm not being taken to the link i want to go.
The only way this works is through a (click) event but it's not as clean.
Is there some easy work around for this?

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

No branches or pull requests

1 participant