ObaidUrRehman / ng-drag-drop

Drag & Drop for Angular - based on HTML5 with no external dependencies. :tada:
MIT License
239 stars 123 forks source link

Performance update #84

Closed Sypher1987 closed 7 years ago

Sypher1987 commented 7 years ago

The package works very well and in testing it for our solution it was nice and smooth however when implementing it in our project we found that we were having performance issues with a large amount of drop zones that can be enabled/disabled. I have made a change to improve the performance in this scenario by applying the subscriptions to the service subjects for start/end of drag only when a drop zone is enabled and removing if it becomes disabled.

ObaidUrRehman commented 7 years ago

Thanks @Sypher1987