Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
balu980 opened this Issue Apr 17, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@balu980
Copy link

balu980 commented Apr 17, 2012

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

@lojjic

This comment has been minimized.

Copy link
Owner

lojjic commented Apr 17, 2012

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

@lojjic

This comment has been minimized.

Copy link
Owner

lojjic commented May 12, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.