question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] Enabling customProperties breaks the theme in IE11

See original GitHub issue

Environment

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:

  1. Create a new project with the Vue CLI with default preset.
  2. (Change directory and) vue add vuetify with default preset.
  3. As given in the docs for IE 11 support, create vue.config.js and add
// vue.config.js

module.exports = {
  transpileDependencies: ['vuetify']
}
  1. 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',
  },
});
  1. Add color="primary" to Latest release button in App.vue (or somewhere else where adding the color would have an effect)
  2. 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

https://codepen.io/literallyliterature/pen/dxRvZm

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jacekkarczmarczykcommented, Aug 1, 2019

Maybe polyfill (https://github.com/jhildenbiddle/css-vars-ponyfill), but i don’t know if it works well with Vuetify

0reactions
opadillacommented, Feb 26, 2020

Maybe polyfill (https://github.com/jhildenbiddle/css-vars-ponyfill), but i don’t know if it works well with Vuetify

This worked for me.

That one didn’t work for me for some reason. This one did though: https://github.com/nuxodin/ie11CustomProperties

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found