d3lm/ngx-drag-to-select

When dts container is destroyed, items are unselected

Eagleseb opened this issue · 2 comments

Hey,

Because in the complete

an empty array is emitted, elements are always unselected when dts container is destroyed.

This is annoying if selected items list is shared with other components.

I suggest to not emit an empty array if there are not any good reasons for that.

Best,
Sébastien

Actually I noticed that the select Output does just that already. You may close my issue and reject my PR :)
sorry for the trouble

d3lm commented

Oh no worries, glad you figured it out. Thanks!