mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
Revert "FIX: Was using a global Popper
variable"
This reverts commit 05831c2b42
.
This commit is contained in:
parent
450c731b54
commit
24f19e8372
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user