Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug with outside-if-not #54

Open
schester44 opened this issue Mar 21, 2017 · 0 comments
Open

Possible bug with outside-if-not #54

schester44 opened this issue Mar 21, 2017 · 0 comments

Comments

@schester44
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant