Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

uibootstrap popver is not opening when append dynamically #6632

Open
@jeevasusej

Description

@jeevasusej

I am using the pop over for my directive. In my directive, I am binding the popover dynamically.

For the first time, if we bind, the popover is working fine. If we bind second time with the same settings for the same element, the popover is not triggered.

Here I have stimulated the above usage using the controller. Please refer the following url.

To Reproduce the issue

  1. After loading the link, click the append button
  2. Then click on the popover text. The popover will be opened.
  3. Then click on the same append button.
  4. Now click on the popover text, popover won't trigger.

https://plnkr.co/edit/VliC5f7kq93wUDLXT56o?p=preview.

In this pluker, this is not opening. But in my application, I am getting the two popover.
If I comment the following code, the popover works without the issue.

  if (isOpenParse) {
              scope.$watch(isOpenParse, function(val) {
                if (ttScope && !val === ttScope.isOpen) {
                  toggleTooltipBind();
                }
              });
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions