Vue-js-modal: 'closed' and 'opened' event are not working properly on IE 11

Created on 13 Feb 2019  路  6Comments  路  Source: euvl/vue-js-modal

Problem:

closed and opened event are not working properly on IE 11, it works sometimes, the percentage about 40%.

__My environment:__

  • Windows 10 x64
  • IE 11.1088.15063.0
  • vue-js-modal 1.3.26

Example & screenshots:

I have an example on codesandbox, but Sandboxes don't load in IE11, so you guys can check the zip source.

I found a similar issue about this #309 but it was closed;

bug question

Most helpful comment

@trandaison I have found the solution. For me it was just es2015 preset for babel, changed it to env and it works now. vue-js-modal uses arrow functions that are part of es2016.

All 6 comments

Same here

@trandaison I have found the solution. For me it was just es2015 preset for babel, changed it to env and it works now. vue-js-modal uses arrow functions that are part of es2016.

Sorry, I'm struggling with the same problem鈥β燼nd I seem not to be able to apply your solution鈥β燾ould you explain your solution to someone dumb as me?
Thank you!

@stepanorda Can you show me the solution details. Thank you!

@trandaison if you have the same problem in your build configuration you need to set babel preset to "env". I don't know what build system do you use so don't know where you change it. Here are the link to the package: https://babeljs.io/docs/en/babel-preset-env

Was this page helpful?
0 / 5 - 0 ratings

Related issues

outOFFspace picture outOFFspace  路  4Comments

alex3683 picture alex3683  路  4Comments

Max64 picture Max64  路  4Comments

vesper8 picture vesper8  路  3Comments

bicstone picture bicstone  路  4Comments