So I started making a little game using KnockoutJS. I found this nice binding handler to use with popovers: https://github.com/s-stude/knockout-popover.
The issue is that when 'initialConstructionGoing' turns to false and the content disappear, the popover is frozen. I tried making a setTimeout to make it go away but it didn't work.
<!-- ko if: initialConstructionGoing -->
<i class="fa fa-exclamation-triangle icon-gradient-warning" class="ko-popover" data-bind="popover: true, popoverOptions: { title: 'Under construction' }" ></i>
<!-- /ko -->
What would be a good approach to this issue?
Thanks!