d-oliveros / ngSmoothScroll

AngularJS directives for animating smooth scrolling to elements.
276 stars 112 forks source link

Stop scroll bubbling #73

Open decarvalhorobinson opened 8 years ago

decarvalhorobinson commented 8 years ago

How to stop event propagation/bubbling in the case below?

I want that just the second event happens, and the first one blocked, since I want that a user could click inside the

and it will auto scroll to fit the page, and if the user click on the button the page scroll to another section.