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
Description
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
- After loading the link, click the append button
- Then click on the popover text. The popover will be opened.
- Then click on the same append button.
- 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
Labels
No labels