Skip to content

Possible bug with outside-if-not #54

@schester44

Description

@schester44

Awesome directive, I appreciate you putting this together. It works great, however i'm having one small issue with it. I'm using this on a "fake" dropdown ( aka a styled div that drops down with selectable options). Using this directive, the div closes if you click outside unless the clicks are within an ngDialog modal. (outside-if-not="ngdialog1, ngdialog-overlay, ngdialog-close, form-buttons, form-actions, input")

My issue is.. This works on the initial ngDialog modal open, however if you close the modal then open it again, any clicks inside of the modal will close the dropdown. Its as if the "outside-if-not" directive is not being respected.

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