polymer_elements icon indicating copy to clipboard operation
polymer_elements copied to clipboard

iron-collapse tests failing due to missed transitionend event

Open jakemac53 opened this issue 10 years ago • 1 comments

The event handler in the element itself is firing (_onTransitionEnd) but imperative listeners aren't getting called so something weird is going on there.

jakemac53 avatar Jan 12 '16 15:01 jakemac53

As you probably know by now, changing collapse.on['transitionend'] to collapse.onTransitionEnd can pass the test and works fine on Dartium, while on Chrome listeners aren't still getting called in the test and actual code, I believe.

I find following code in my sample project (index.bootstrap.initialize.dart.js after pub build).

{if(P.fR())return"webkitTransitionEnd"
else if(P.dh())return"oTransitionEnd"
return"transitionend"}

When I remove the webkitTransitionEnd and oTransitionEnd flow to get always returned transitionend, then the listener is getting called. So maybe there is a dart2js's bug?

ghost avatar Jan 19 '16 10:01 ghost