mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.34k stars 1.15k forks source link

IE 11 not working anymore starting MDB 4.5.10 #188

Closed icebits closed 5 years ago

icebits commented 5 years ago

Expected behavior

mdb.js should work (no script error) on IE 11.

Actual behavior

IE 11 throw script error

Your working environment and MDB version information

Microsoft MVC 5, Bootstrap 4.1.3, MDB 4.5.10

It seem new written pattern/syntax which didn't recognize by IE 11, is it ES6? I switch back 4.5.9 no issue at all.

It failed on this pattern: ($ =>{ const i = 1; })(jQuery);

this pattern ok: (function ($) { var i = 1; })(jQuery);

Martussky commented 5 years ago

Hi,

Thank you for your message. We are doing our best to ensure compatibility with older browser, however due tu technical limitation it's not always possible. IE8 is almost 10 years old and doesn't support many crucial features like flexbox therefore we do not expect to fix it in nearest feature

Best, Marta

jfcherng commented 5 years ago

https://github.com/jfcherng/my-mdbootstrap

I have a transpiled free jQuery version of 4.5.11. But it has custom CSS fixes for me. You may only want to take mdb.min.js.

You may have to use https://cdnjs.com/libraries/babel-polyfill as well if mdb.min.js has non-ES5-compatible natives. I am not sure.

Diazole commented 5 years ago

We'are sorry, but we have much more important things to deliver than support for old, outdated browser which is hardly used by anyone.

IE11 is the latest version of IE with a market share of 2.55% which equates to millions of users.

MDB states:

MDBootstrap supports the latest, stable releases of all major browsers and platforms.

Do you not class the latest version of IE to be a major browser?

mdbootstrap commented 5 years ago

@Diazole-x , My apologies for your inconvenience.

IE11 was released on 29 July 2015 which means it's already 4 years old. We are trying to support as many features as possible with backward compatibility, however sometimes we have to drop compatibility for outdated products in favour of new features which let MDB bring new outstanding functionality. I hope you can understand that.

There is no option to have both, therefore please use the legacy version of MDB which were compatible with IE, or, if possible - switch to the newer version of the browser (Edge, Chrome etc).

icebits commented 5 years ago

Hi. I understand that IE11 is less favorable now but it is hard in enterprise environment :(. I suggest to update Github readme to remove IE from compatible wording as it might misleading to other users or indicate that IE support is until 4.5.9 only.

Cross-browser compatibility Chrome, Firefox, IE, Safari, Opera, Microsoft Edge - MDB loves all browsers, all browsers love MDB.

andrewfinnell commented 5 years ago

I’m glad they’ve decided to stop supporting IE 11. While I’m in an Enterprise environment that refuses to stop IE 11 use, this product not supporting IE 11 is allowing to have discussions about moving off IE.

IE is a security risk and extremely outdated. Projects such as this one could never make progress if they’re always stuck supporting broken and outdated products.

Any Enterprise which needs this product will put in the effort to make it compatible. Which is the trade off on decision to keep using IE 11