Skip to content

Commit

Permalink
fix(popper): use $el after 1.5 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Mar 14, 2022
1 parent cdb4b1f commit 9554e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/utils/popper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function usePopper (options: object) {
if (!popper.value) { return }
if (!reference.value) { return }

const popperEl = popper.value.el || popper.value
const referenceEl = reference.value.el || reference.value
const popperEl = popper.value.$el || popper.value
const referenceEl = reference.value.$el || reference.value

if (!(referenceEl instanceof HTMLElement)) { return }
if (!(popperEl instanceof HTMLElement)) { return }
Expand Down

1 comment on commit 9554e80

@vercel
Copy link

@vercel vercel bot commented on 9554e80 Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.