angular-advanced-course icon indicating copy to clipboard operation
angular-advanced-course copied to clipboard

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

Open vzR opened this issue 6 years ago • 0 comments

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?

vzR avatar May 17 '18 14:05 vzR