You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
The positionTooltip function in UIBS contains this line at the top of the method to check for null tooltip objects:
if (!tooltip || !tooltip.html()) { return; }
But then it uses tooltip inside a $timeout without checking for nulls. I am getting about 100 "Unable to get property 'property' of undefined or null reference" exceptions per day from my app which has about 4000 users.
Link to minimally-working plunker that reproduces the issue:
I can only produce this in IE and not 100% of the time. If I moving my mouse rapidly back and forth between the two buttons that show tooltips within 10 seconds or so I usually get an exception in the console. http://plnkr.co/edit/neahF8CxbhgQj17P3OkS?p=preview
Version of Angular, UIBS, and Bootstrap
Angular: v1.5.8
UIBS: 2.1.3
Bootstrap: 3.3.7
The text was updated successfully, but these errors were encountered:
The issue is because you have a delay on your tooltips opening and the trigger is a mouseenter event. The issue goes away when you remove that delay. If you feel you need that delay, we should have a discussion as to why. I'm not saying this isn't a bug, but I am wondering if your use case is not correct.
Bug description:
The positionTooltip function in UIBS contains this line at the top of the method to check for null tooltip objects:
if (!tooltip || !tooltip.html()) { return; }
But then it uses tooltip inside a $timeout without checking for nulls. I am getting about 100 "Unable to get property 'property' of undefined or null reference" exceptions per day from my app which has about 4000 users.
Link to minimally-working plunker that reproduces the issue:
I can only produce this in IE and not 100% of the time. If I moving my mouse rapidly back and forth between the two buttons that show tooltips within 10 seconds or so I usually get an exception in the console.
http://plnkr.co/edit/neahF8CxbhgQj17P3OkS?p=preview
Version of Angular, UIBS, and Bootstrap
Angular: v1.5.8
UIBS: 2.1.3
Bootstrap: 3.3.7
The text was updated successfully, but these errors were encountered: