IE 9 and 10 worked fine with alpha versions, but using beta it throws the following error:
Unable to get property 'initiallyOpen' of undefined or null reference
You can test the documentation site to see the error:
http://www.material-ui.com/v0.15.0-beta.1/
I have the same issue
Also happens in the final release
Any development about this issue?
The issue is that IE doesn't like the javascript that babel generates. See https://babeljs.io/docs/usage/caveats/. Including the babel-polyfill package resolved this issue for me. Another workaround might be to apply the "loose" option in babel to generate more compatible javascript (http://babeljs.io/docs/plugins/transform-es2015-classes/).
@jonaslundgren I tried your solution in my project but nothing worked for me. How have you configured your babel to make it work? IE10 doesn't seems to like that when we call this.props in state declaration.
+1 for this issue. Any resolution?
@moduv5 I modified the mateterial-ui source according to this: https://github.com/bkonkle/babel-preset-es2015-loose. For more background see https://babeljs.io/docs/usage/caveats/ and http://babeljs.io/docs/plugins/transform-es2015-classes/
@hhaidar this can be fixed by moving the assignment of open into componentWillMount
Most helpful comment
I have the same issue