kineticsocial / angularjs-datetime-picker

AngularJS DateTime Picker Without JQuery and Bootstrap
MIT License
66 stars 79 forks source link

Fixes for issues in IE11 #15

Open sehv opened 8 years ago

sehv commented 8 years ago

Fixes two issues with IE11: (1) Calendar does not position correctly. Replaces window.scrollX/scrollY with window.pageXOffset/pageYOffset to make it work in all browsers. (2) Calendar can't be removed once rendered. Replaces el.destroy() (not supported in pre-Edge IE) with el.parentElement.removeChild(el) to make it work in all browsers.

Also adds a missing comma in package.json.

Minified version also rebuilt and included.

kokpuncher commented 8 years ago

This fix worked for me. I was able to reproduce it in IE11 and applying this fix corrected it. Works as expected in Chrome 51.0.2704.84 m

MitchConner commented 7 years ago

Same for me. Thanks for this fix!

shnigi commented 7 years ago

I am facing this same issue, can you merge? This works.

qrdemole commented 7 years ago

Please merge

RoystonGates commented 7 years ago

Thank you for the fix works a treat :)

londonanthonyoleary commented 7 years ago

Could anyone merge this.