angular-ellipsis icon indicating copy to clipboard operation
angular-ellipsis copied to clipboard

6 second delay

Open inspire22 opened this issue 10 years ago • 5 comments

For some reason, when I use this directive my pages are very slow. Not sure what could be the issue - I'm running it with HTML in the binding, perhaps that is it....

inspire22 avatar Mar 21 '14 19:03 inspire22

It might also be the resize listener, especially if you have a good deal of ellipsis directives on the same page. Try commenting out 112 to 123 and seeing if the performance improves. There are things you can do to limit resize evaluations if that is the issue.

TGOlson avatar Apr 25 '14 21:04 TGOlson

https://github.com/dibari/angular-ellipsis/pull/42 should have fixed this issue.

sod avatar Mar 07 '16 14:03 sod

The issue is still relevant when using many items with the ellipsis directive

Maximaximum avatar Sep 30 '16 14:09 Maximaximum

image this is the devil

bpceee avatar Apr 01 '17 03:04 bpceee

I think it can be alleviate by using ResizeSensor

bpceee avatar Apr 01 '17 08:04 bpceee