Skip to content

Commit 076f818

Browse files
fix: add contextElement to ReferenceProxy (#4446)
Co-authored-by: Oleksandr Fediashov <[email protected]>
1 parent 888b2f7 commit 076f818

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/modules/Popup/lib/createReferenceProxy.js

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class ReferenceProxy {
2121
get parentNode() {
2222
return this.ref.current ? this.ref.current.parentNode : undefined
2323
}
24+
25+
get contextElement() {
26+
return this.ref.current;
27+
}
2428
}
2529

2630
/**

0 commit comments

Comments
 (0)