Revert "FIX: Was using a global Popper variable"

This reverts commit 05831c2b42.
This commit is contained in:
Robin Ward 2020-09-11 17:30:53 -04:00
parent 450c731b54
commit 24f19e8372

View File

@ -21,7 +21,6 @@ import {
applyContentPluginApiCallbacks,
applyOnChangePluginApiCallbacks,
} from "select-kit/mixins/plugin-api";
import { createPopper } from "@popperjs/core";
export const MAIN_COLLECTION = "MAIN_COLLECTION";
export const ERRORS_COLLECTION = "ERRORS_COLLECTION";
@ -773,7 +772,8 @@ export default Component.extend(
const verticalOffset = this.multiSelect ? 0 : 3;
this.popper = createPopper(anchor, popper, {
/* global Popper:true */
this.popper = Popper.createPopper(anchor, popper, {
eventsEnabled: false,
strategy: placementStrategy,
placement: this.selectKit.options.placement,