720kb / angular-tooltips

Angularjs tooltips module, add tooltips to your elements - https://720kb.github.io/angular-tooltips
351 stars 157 forks source link

DOM Node - Memory Leak #136

Closed theframework closed 8 years ago

theframework commented 8 years ago

Hi,

Love the plugin... but unfortunately causes my application to leak dom nodes... any ideas?

Thanks

wouldgo commented 8 years ago

Could you please articulate your issue?

We need at least a snippet to understand what happens and where is the leakage. How do you measure it?

Waiting for inputs, Thanks

Dario.

wouldgo commented 8 years ago

Closing by now, need some evidences for this kind of investigation.

theframework commented 8 years ago

screen shot 2016-02-23 at 17 23 40

theframework commented 8 years ago

screen shot 2016-02-23 at 17 26 09

theframework commented 8 years ago

the first screen is when toggling between 2 pages in an SPA that has the tool tips.

the second is toggling between the same 2 pages without the tool tips. you cna see where i have forced garbage collection (i did the same on the first screen with the tooltips).

all the HTML i have for the tooltips is (the load SVG just requests an SVG a appends teh file contents.)

</a>

There must be some reference which is not being cleared some how.... id love to use this plugin, it is great... just need to fix this issue

Any help/advice would be greatly appricated.

Thansk in advance

theframework commented 8 years ago

`

</a>`
45kb commented 8 years ago

@theframework Hi, actually @wouldgo is not here in these days, i am sure he will reply you as soon as he's back.

Thanks.