marcio / react-skylight

A react component for modals and dialogs
http://marcio.github.io/react-skylight/
MIT License
571 stars 97 forks source link

IE11 problem in v0.4.1 - Object doesn't support property or method 'assign' #47

Closed finrod2002 closed 8 years ago

finrod2002 commented 8 years ago

Seems still broken in Internet Explorer 11 with version 0.4.1.

I included latest version in my project and get following error in IE11:

SCRIPT438: Object doesn't support property or method 'assign'

Following page is not working either if I try to open it in IE 11: http://marcio.github.io/react-skylight/. Also there I get following error:

SCRIPT438: Object doesn't support property or method 'assign'

finrod2002 commented 8 years ago

Issue is that the files in the lib directory are not rebuild after the last merge and before the last release. Therefore the old files with Object.assign are still there.

I solved it by running

npm run build

in the skylight module root directory.

I can create a pull request tomorrow if needed.

finrod2002 commented 8 years ago

I created a pull request with the changes.