PIE icon indicating copy to clipboard operation
PIE copied to clipboard

el.currentStyle undefined or null error if -pie-poll is true

Open balu980 opened this issue 13 years ago • 2 comments

Hi

some cases when the -PIE-POL is set to true and removing the element from the DOM tree will result in this error when the code try to access the currentStyle of a element.

I fixed this by adding a check if(!el.currentStyle){ return true; }

@ update and propChanged method and it fix this.

looks like a racing condition between the update and the

balu980 avatar Apr 17 '12 20:04 balu980

Thanks, can you provide a standalone testcase that triggers the error?

lojjic avatar Apr 17 '12 20:04 lojjic

@balu980 Are you able to provide a testcase? It's impossible to verify that this works properly if I cannot reproduce the issue.

lojjic avatar May 12 '12 18:05 lojjic