-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Storybooks not working on IE11 #8995
Comments
We have very similar problem: is it possible that the latest carbon version is not working on IE11? As far as I see, the main problem is in the
Class syntax is not known by IE11 (https://caniuse.com/es6-class) and I'm not sure that this package uses or not any polyfill. |
this may be resolved by auto polyfilling class syntax in the feature-flags package as suggested. do you know the last working version which was viewable in storybook? currently, viewing older storybook deploys shows content security errors so it's not clear when the breakage occurred |
Seems like it may be something webpack-related, potentially with one of our CSS loaders. When debugging, I removed all stories and still got an error when styles were trying to be loaded 🤔 |
I've investigated a few things - nothing surprising, but it could be useful for your debugging process. I checked the following versions and the Carbon ecosystem is still broken with the same error (syntax error because of
So I also checked these versions and the error has been changed:
New error is So I still think that the I'd also like to emphasize that the issue relates not just to the Storybook, but to the whole Carbon. |
#9204 resolves the issue in the |
+1 to the feature flags package stuff, that should have been transpiled and thankfully is fixed/merged into the codebase now 👍 |
What package(s) are you using?
Wanting to use the react storybook but Angular and Vue also don't work.
Detailed description
In Internet Explorer 11 I am unable to load the react storybook to access the docs.
We are having trouble supporting the DataTable in IE11 so wanted to check the storybook/docs to see if we can reproduce the problem there.
The storybook is for
carbon-components-react
v7.37.1Steps to reproduce the issue
Additional information
Screenshot of browser console
The text was updated successfully, but these errors were encountered: