ng-scrollable icon indicating copy to clipboard operation
ng-scrollable copied to clipboard

Added isolatedElement as parameter to scroll functions / event handlers to prevent multiple scroll elements from firing

Open mjheller opened this issue 7 years ago • 1 comments

With multiple scroll elements on same page, broadcasting scroll events will cause all scrolls to change

mjheller avatar Apr 26 '17 02:04 mjheller

Thanks. Can you please make a short working example so I understand the requirement better. I wonder if it's cleaner to use the already existing id feature here. At configuration time you would set the scrollable's id and you would use the same id when sending events. Each scrollable would filter events and only process those events directed to it's own id.

echa avatar Apr 26 '17 05:04 echa