diff --git a/src/modules/Popup/lib/createReferenceProxy.js b/src/modules/Popup/lib/createReferenceProxy.js index 8595ca6d94..c32953e403 100644 --- a/src/modules/Popup/lib/createReferenceProxy.js +++ b/src/modules/Popup/lib/createReferenceProxy.js @@ -21,6 +21,10 @@ class ReferenceProxy { get parentNode() { return this.ref.current ? this.ref.current.parentNode : undefined } + + get contextElement() { + return this.ref.current; + } } /**