Skip to content

Multiple Popovers on single page not supported #2

@TWithers

Description

@TWithers

If you have multiple popovers on the page, then it randomly selects a popover and opens it. The reason behind it is that all created popovers use the same id (ng-popover) and when you are selecting the popover to show, it is using the element id to select.

In effect, the first popover you click is correct, but after that, it stops working. I suggest refactoring to use class based selectors and a storing the title in a data attribute and selecting the correct popover based on the title.

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