yads / ngTinyScrollbar

An angular directive port of the TinyScrollbar
MIT License
55 stars 20 forks source link

Added event.stopPropagation to enable support for nested scrollbars #32

Closed willhoney7 closed 8 years ago

willhoney7 commented 8 years ago

I found that ngTinyScrollbar didn't behave well when nested inside itself. I added event.stopPropagation() to fix the event from bubbling up.

It doesn't have any adverse effects with the window scrolling.

I found that someone has submitted a similar PR for tinyscrollbar: https://github.com/wieringen/tinyscrollbar/pull/58

Hope this make it in! Let me know if I need to update something.

Thanks! Will

yads commented 8 years ago

Thanks! I'll try to review tonight and get a release pushed out.

yads commented 8 years ago

Released in 0.9.3