Skip to content

Dom binding #27

Description

@eddiemonge

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions