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

uibootstrap popver is not opening when append dynamically #6632

Open
jeevasusej opened this issue Sep 19, 2017 · 0 comments
Open

uibootstrap popver is not opening when append dynamically #6632

jeevasusej opened this issue Sep 19, 2017 · 0 comments

Comments

@jeevasusej
Copy link

jeevasusej commented Sep 19, 2017

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();
                }
              });
            }
@jeevasusej jeevasusej changed the title uibootstrap popver is not opening append dynamically uibootstrap popver is not opening when append dynamically Sep 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant