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
Bootstrap-vue does not work with IE11 due to deepFreeze #3525
Comments
Are you importing the latest polyfills for IE (either from polyfill.io or similar)? |
We might be able to re-work the routine to make it transpile a bit better. |
Avoid using the `of` operator, as it transpiles into a bunch of helper code (which uses Symbol, of which IE 11 needs a polyfill for) Since we are only deep-freezing the default BootstrapVue config (to prevent possible mutations), we can switch to `Object.keys` and `.forEach()` to simplify the code. Closes #3525
@jeuxjeux20 The docs recommended polyfill(s) include a polyfill for IE 11 https://bootstrap-vue.js.org/docs#js (using or https://bootstrap-vue.js.org/docs#browser (using |
Yeah i got it to work with a polyfill 👏, though |
* fix(utils/deepFreeze): avoid using `of` operator (closes #3525) Avoid using the `of` operator, as it transpiles into a bunch of helper code (which uses Symbol, of which IE 11 needs a polyfill for) Since we are only deep-freezing the default BootstrapVue config (to prevent possible mutations), we can switch to `Object.keys` and `.forEach()` to simplify the code. Closes #3525 * Update config-set.js * Update object.js
While #3526 solved the IE11 issue with I couldn't find why this happens as IE11 doesn't provide much information...
I also noticed there is no issue with the Finally the That's all the information I could get, hope this helps. |
Describe the bug
Basically, IE11 throws an error: "Symbol is undefined", on the
src/utils/object.js
file withdeepFreeze
, which is the transpiled version offor (let prop of props)
:The transpiled code in
boostrap-vue.esm.js
isThis is new to the rc23 version.
Steps to reproduce the bug
Expected behavior
The error should not happen.
Versions
Libraries:
Environment:
The text was updated successfully, but these errors were encountered: