[Bug Report] Enabling customProperties breaks the theme in IE11
See original GitHub issueEnvironment
Vuetify Version: 2.0.3 Vue Version: 2.6.10 Browsers: Internet Explorer OS: Windows 10
Steps to reproduce
Codepen seems to have its own issues on IE11. So, to reproduce with a new project created with Vue CLI:
- Create a new project with the Vue CLI with default preset.
- (Change directory and)
vue add vuetify
with default preset. - As given in the docs for IE 11 support, create
vue.config.js
and add
// vue.config.js
module.exports = {
transpileDependencies: ['vuetify']
}
- Enable customProperties in the vuetify initialisation
// src/plugins/vuetify.js
import Vue from 'vue';
import Vuetify from 'vuetify/lib';
Vue.use(Vuetify);
export default new Vuetify({
theme: {
options: {
customProperties: true,
},
},
icons: {
iconfont: 'mdi',
},
});
- Add
color="primary"
to Latest release button inApp.vue
(or somewhere else where adding the color would have an effect) - On running (or building) the project, the button is not given the correct background color.
Expected Behavior
The colors are shown correctly even on IE11.
Actual Behavior
Different colors shown on IE11 vs Chrome and Firefox
Reproduction Link
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Discussion: Dropping support for IE11 – Make WordPress Core
Dropping IE11 support is perfectly fine. A friendly message on unsupported browsers will do the rest of the work. I am for dropping...
Read more >Script errors in Internet Explorer - Browsers - Microsoft Learn
A script error occurs in Internet Explorer, the webpage cannot be displayed correctly and you receive an error message.
Read more >Build a Custom Theme in VMware Cloud Director
Cloud Provider tries new custom theme in VMware Cloud Director UI portal. You won't believe what happens next! The results are shocking!
Read more >Dropping support for Internet Explorer 11 (when 18% of your ...
Our teams no longer have to fix bugs in IE11, and no longer have to fire up a virtual machine to check their...
Read more >Bootstrap Theme Changelog - KendoReact - Telerik
Bug Fixes. actionsheet: use subtle text variable for description styling (043ca4a); button: allow $kendo-solid-button-shade-function to be customized ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe polyfill (https://github.com/jhildenbiddle/css-vars-ponyfill), but i don’t know if it works well with Vuetify
That one didn’t work for me for some reason. This one did though: https://github.com/nuxodin/ie11CustomProperties