FIX: adds shims for popper in wizard (#10658)
This commit is contained in:
parent
663d696095
commit
9238a9e427
|
@ -1,3 +1,4 @@
|
|||
import { createPopper } from "@popperjs/core";
|
||||
import I18n from "I18n";
|
||||
import EmberObject, { computed, get } from "@ember/object";
|
||||
import { guidFor } from "@ember/object/internals";
|
||||
|
@ -772,8 +773,7 @@ export default Component.extend(
|
|||
|
||||
const verticalOffset = this.multiSelect ? 0 : 3;
|
||||
|
||||
/* global Popper:true */
|
||||
this.popper = Popper.createPopper(anchor, popper, {
|
||||
this.popper = createPopper(anchor, popper, {
|
||||
eventsEnabled: false,
|
||||
strategy: placementStrategy,
|
||||
placement: this.selectKit.options.placement,
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
define("@popperjs/core", ["exports"], function (__exports__) {
|
||||
__exports__.default = window.Popper;
|
||||
__exports__.createPopper = window.Popper.createPopper;
|
||||
__exports__.defaultModifiers = window.Popper.defaultModifiers;
|
||||
__exports__.popperGenerator = window.Popper.popperGenerator;
|
||||
});
|
|
@ -4,4 +4,5 @@
|
|||
//= require sweetalert.js
|
||||
//= require virtual-dom
|
||||
//= require virtual-dom-amd
|
||||
//= require popper
|
||||
//= require popper.js
|
||||
//= require wizard-shims
|
||||
|
|
Loading…
Reference in New Issue