Skip to content

Commit

Permalink
fix: add contextElement to ReferenceProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryDuncan committed Nov 29, 2023
1 parent ba4b720 commit 4df2f61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/Popup/lib/createReferenceProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class ReferenceProxy {
get parentNode() {
return this.ref.current ? this.ref.current.parentNode : undefined
}

get contextElement() {
return this.ref.current;
}
}

/**
Expand Down

0 comments on commit 4df2f61

Please sign in to comment.