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

popovers won't run outsideClickHandler if another popover is clicked on #109

Open
brokenalarms opened this issue Feb 17, 2016 · 0 comments

Comments

@brokenalarms
Copy link

it just opens the new popover and keeps the others open. This holds regardless of whether triggerPrevent is disabled (which btw needs wrapping in:

triggerPrevent: (attrs.nsPopoverTriggerPrevent !== undefined) ? toBoolean(attrs.nsPopoverTriggerPrevent) : defaults.triggerPrevent,

to be compared successfully).

I cannot do it via options.group, as each marker is within an ng-repeat. an $emit to all of these causes a hide by timeout which disables the newly selected popover from appearing itself.

I can't find a solution to this besides registering every popover myself and calling hide on them all, but avoiding such hassles is the reason I moved to this library in the first place :) Thanks!

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