Skip to content

Commit

Permalink
fix(client-interaction): ie11 support for closest method
Browse files Browse the repository at this point in the history
added new polifyl library to support .closest method on ie11 +
  • Loading branch information
fsanna committed Mar 1, 2021
1 parent 16ebfd4 commit 34f9224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions interaction/app/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"autolinker": "^1.6.2",
"classlist.js": "^1.1.20150312",
"core-js": "3.3.3",
"element-closest-polyfill": "^1.0.2",
"rxjs": "~6.4.0",
"tslib": "^1.10.0",
"zone.js": "~0.9.1"
Expand Down
1 change: 1 addition & 0 deletions interaction/app/default/src/polyfills.ie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import 'core-js/es/regexp';
import 'core-js/es/map';
import 'core-js/es/weak-map';
import 'core-js/es/set';
import 'element-closest-polyfill';

/** IE10 and IE11 requires the following for NgClass support on SVG elements */
import 'classlist.js'; // Run `npm install --save classlist.js`.
Expand Down

0 comments on commit 34f9224

Please sign in to comment.