Skip to content

Commit

Permalink
fix(popover): consider el.el case when calc Popover position
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Apr 27, 2022
1 parent 86cd6b8 commit a3cebb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shared/calc-popover-position.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export const calcPopoverPosition = ({
targetEl = targetEl.current;
} else if (targetEl.value) {
targetEl = targetEl.value;
} else if (targetEl.el) {
targetEl = targetEl.el;
}

if (typeof targetEl === 'string') {
Expand Down

0 comments on commit a3cebb6

Please sign in to comment.