Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE10 Type Error #37

Closed
archernc opened this issue Mar 13, 2017 · 4 comments
Closed

IE10 Type Error #37

archernc opened this issue Mar 13, 2017 · 4 comments

Comments

@archernc
Copy link

archernc commented Mar 13, 2017

Was curious to know if IE10 was meant to be supported? Validated using the demo site that an error gets thrown on line 153 with error "Invalid operand to 'in': Object expected"

capture

@archernc
Copy link
Author

Resolved our current issues by rolling back to v2.0.4 but still curious. Thanks.

@karamanolev
Copy link

@vlad-ignatov I'm observing the exact same error in the exact sample place. Nothing fancy. IE9 in our case. Can you fix it?

@karamanolev
Copy link

More info: the error is actually caused by this babel/babelify#133 . Not exactly sure if this library can fix it in any way. There are some workarounds, but none worked for me.

@karamanolev
Copy link

karamanolev commented May 3, 2017

It seems that building this with the latest Babel fixes it, so what I did was copy NumericInput.jsx over to our project so that it gets built by our Webpack. Otherwise it's using the pre-built index.js, which is probably built with an older Babel/Webpack and therefore has this issue.

@vlad-ignatov If you are willing to upgrade the babel and presets versions to latest, that would be ideal, as IE issues will get fixed in the main library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants