Vuetify: Adding IE11 Support Guidelines to Docs

Created on 29 Apr 2017  Â·  21Comments  Â·  Source: vuetifyjs/vuetify

Steps to reproduce

Test raised button component in IE11 with long text content.

Versions

Vue: 2.2.6
Vuetify: 0.11.1
OS: Windows 10
Browser: IE11

What is expected ?

The buttons must fit the content.

What is actually happening ?

The button has a fixed size which might be defined by the min-width.

Solution

As far as my debugging skills reach i was able to discover that a flex-basis: auto; on the 'btn__content' class fixes the issue in my environment.

vuetify-button-flexbox-issue

help wanted

Most helpful comment

With correct settings, vuetify is correctly functionnal with IE10+ :

  • Add this polyfills :

    • element-dataset

    • babel-polyfill

  • Add this babel presets :

    • es2015

  • Add this babel plugins :

    • array-includes

In my case, I use the "A la demande" config with POI.js. I add this settings in the poi.config.js in the extendWebpack :

config.module.rule('vuetify')
    .test(/vuetify.es5.*?js$/)
    .use('babel-loader')
    .loader('babel-loader');

Now it works fine on IE11. But in IE10 I have only one bug : modals and dropdown menu works fine only first time

All 21 comments

IE10 is not supported and IE11 is hanging on by a thread. When I made this framework I didn't have intentions of supporting IE at all. I understand that this may be a hindrance for developers who cover those browsers, but there are other material frameworks that will.

I'll leave this open for discussion.

Okay, I did not know that :-) If that is the case, it would be very nice if that would be described in the docs.

I have screened the community for material component libraries and have tested most of them such as Keen-UI and vue-material. The one i selected at the end was vuetify.

However, most of the components works relativly well in IE11 and only need a bit tweaking in order to make it play well with IE11.

I hope you will consider support IE11 as a large amount of our users use IE11.

If you deside not to support IE11 i could get away with overwriting some of the classes that needs small tweaks right :-) ?

If anyone would like to help test and work on IE it would be most appreciated, if not, I'll look at this when I can.

Using Vuetify, I am building a small webapp for internal use in my company. Unfortunately all employees are forced to use Internet Explorer (v.11). This is the case in many companies. That is why I think it would be worth the effort to support IE11. Actually, in the current state of Vuetify and with a few polyfills (_assign_, _removeChild_, etc.), it works already quite well. I only ran into two issues:

  • The issue brought up here, which can be easily fixed by specifying a minimum width.
  • And the button toggle component, which has a serious display bug.

For all the other components, I didn’t encounter any major problems, even for the date picker one.

Like thupi advocates, it would be good idea to mention the supported browsers on Vuetify docs website and in the Github readme, with a warning about IE11.

However, I know that spending time supporting a crappy browser like IE11 is no fun and would be better spent improving other areas of Vuetify. Therefore, I suggest adding a page under the Guides section of the documentation that show the needed polyfills and CSS fixes to achieve basic support.

Lastly, just for information: because of missing polyfills, the docs website doesn’t work at all on IE.

Good points. It shall be done!

IE11 is the most used IE version and unfortunately it will be like this for a long time.

From what I have seen IE11 should be an easy catch, it "mostly works" in all frameworks, even in Vuetify.

If suggesting https://polyfill.io/v2/docs/, and some minor CSS fixes / additions makes Vuetify work without any probs I would vote going for it.

All our enterprise customers are using IE11 right now.

PS: https://www.netmarketshare.com/ reports 13,62% market share for IE11 right now.

@thupi I suggest you rename this issue to something like "Adding IE11 Support Guidelines to Docs"

@mornir You are right, that might make more sense :-)

Looking into this right now!

I am very much looking forward to the day that IE support is no longer needed.

In the meantime, it looks like IE 11 chokes on datatables (as they are presented in the documentation). The error given is an "unexpected start tag" (error HTML1503) on every after the