MediaMath / strand

A collection of modular, reusable Web Components built upon Polymer
http://mediamath.github.io/strand/
BSD 3-Clause "New" or "Revised" License
119 stars 46 forks source link

Issues with DatePicker Example Using IE 10 and IE 11 #83

Closed zawarski closed 8 years ago

zawarski commented 8 years ago

Would really like to use Strand but when I try to "close" the DatePicker example (http://mediamath.github.io/strand/mm-datepicker.html) using IE 10 or IE 11, "Unable to get property 'close' of undefined or null reference" error is displayed in debugging console for IE 10 and IE 11. Don't know if this is caused by something in the demo page for the component, or the component itself.

dlasky commented 8 years ago

so ie 10 isn't supported by polymer itself.

it looks like in 11 the behaviors that it depends on are undefined for some reason.

edge is fine

zawarski commented 8 years ago

In mm-datepicker.js, line 367, it calls BehaviorUtils.findSuper(StrandTraits.PositionablePanel, 'close'). The structure of the StrandTraits.PositionablePanel, when using Chrome, has the expected 'close'. When using IE11, the structure of the object is very different, and the expected 'close' content does not exist.

dlasky commented 8 years ago

4.0.3 this appears to be resolved in IE11. Unable to test in 10.

zawarski commented 8 years ago

Works great in ie11 now. Thanks!