PolymerElements / paper-dropdown-menu

A Material Design browser select element
https://www.webcomponents.org/element/PolymerElements/paper-dropdown-menu
61 stars 107 forks source link

PERF: CPU "leak" after opening and closing dropdown with *noink* attribute #102

Open louisptremblay opened 8 years ago

louisptremblay commented 8 years ago

CPU goes up to 10% after one opening and closing a dropdown with noink attribute. Doesn't ever go back to normal after that. The more time you open and close, the higher the CPU raises, never going back down.

Easy to reproduce (the bug can be seen in the official demo page):

Thank you!

ghost commented 8 years ago

Wow that's pretty bad! I see what you mean.

ebidel commented 8 years ago

Believe this is in paper-ripple, but draw is being called continuously without anything to draw:

screen shot 2016-01-04 at 8 32 37 am

cc @rictic @cdata

cdata commented 8 years ago

Looks like this might be a paper-ripple bug.

ebidel commented 8 years ago

ping @cdata

Eymerich01 commented 7 years ago

No news about this issue? My application becomes unusable for CPU problem :( The only way to solve this is to put periodically _animating=false on any paper-ripple.