angular-dropdowns icon indicating copy to clipboard operation
angular-dropdowns copied to clipboard

Dom binding

Open eddiemonge opened this issue 11 years ago • 1 comments

It looks like a click handler is attached to the dom regardless if there is an active dropdown: https://github.com/jseppi/angular-dropdowns/blob/v0.3.0/angular-dropdowns.js#L184

Maybe you should do the bind in the register method and in the unregister, check to see if the dropdown array is empty and if it is, remove the binding.

eddiemonge avatar Sep 12 '14 22:09 eddiemonge

This could be an improvement to my pull request: https://github.com/jseppi/angular-dropdowns/pull/34

That might solve the issue of touch events not registering outside of the element.

elliottregan avatar Oct 21 '14 20:10 elliottregan