This is very similar to #13. I was doing some more diagnosis of performance with the library and I believe these two events would be beneficial to move outside the Angular Zone as well. It seems that dragEnter/dragLeave get called on any element that supports pointer events (e.g. that can be turned off with CSS pointer-events: none). I couldn't find any necessity within the functions to trigger change detection, so I believe it's fairly safe.
This is very similar to #13. I was doing some more diagnosis of performance with the library and I believe these two events would be beneficial to move outside the Angular Zone as well. It seems that dragEnter/dragLeave get called on any element that supports pointer events (e.g. that can be turned off with CSS
pointer-events: none
). I couldn't find any necessity within the functions to trigger change detection, so I believe it's fairly safe.