fix(overlays): fix popper for IE11 by using esm dist target
This commit is contained in:
parent
f28c66ef93
commit
16078c528b
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import { containFocus } from './utils/contain-focus.js';
|
||||||
import { keyCodes } from './utils/key-codes.js';
|
import { keyCodes } from './utils/key-codes.js';
|
||||||
|
|
||||||
async function __preloadPopper() {
|
async function __preloadPopper() {
|
||||||
return import('popper.js/dist/popper.min.js');
|
return import('popper.js/dist/esm/popper.min.js');
|
||||||
}
|
}
|
||||||
export class LocalOverlayController {
|
export class LocalOverlayController {
|
||||||
constructor(params = {}) {
|
constructor(params = {}) {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect, fixture, html, aTimeout, defineCE, unsafeStatic } from '@open-wc/testing';
|
import { expect, fixture, html, aTimeout, defineCE, unsafeStatic } from '@open-wc/testing';
|
||||||
import sinon from 'sinon';
|
import sinon from 'sinon';
|
||||||
import Popper from 'popper.js/dist/popper.min.js';
|
import Popper from 'popper.js/dist/esm/popper.min.js';
|
||||||
|
|
||||||
import { keyUpOn } from '@polymer/iron-test-helpers/mock-interactions.js';
|
import { keyUpOn } from '@polymer/iron-test-helpers/mock-interactions.js';
|
||||||
import { LionLitElement } from '@lion/core/src/LionLitElement.js';
|
import { LionLitElement } from '@lion/core/src/LionLitElement.js';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue