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.
Closing animated delayed tooltip breaks on scope destroy #1339
Closed
Description
If I append a tooltip with popupdelay to a link on statechange tooltip (mostly) becomes null and the following error is thrown (in Firefox):
Error: tooltip is null $tooltip/link/hide/transitionTimeout <@angular-ui-bootstrap-tpls-0.7.0.js?v=83adf2556701:2143 timeout/timeoutId <@angular-1.2.3.js?v=83adf2556701:13363 [email protected]?v=83adf2556701:4026 Browser/self.defer/timeoutId <@angular-1.2.3.js?v=83adf2556701:4332
in Chrome:
TypeError: Cannot call method 'remove' of null at http://cdn.jsdelivr.net/angular.bootstrap/0.7.0/ui-bootstrap-tpls.js:2143:25 at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular.js:13363:28 at completeOutstandingRequest (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular.js:4026:10) at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.3/angular.js:4332:7
Here is a fiddle of this issue:
http://jsfiddle.net/tak_aryelle/ujRy2/1/
If I set poupDelay to '0' or animation to 'null' the issue doesn't occur.
Additionally in this fiddle the tooltip isn't even displayed in Firefox; in my local files this isn't a problem.