diff --git a/src/Tippy.js b/src/Tippy.js
index 9b3681e..02f4019 100644
--- a/src/Tippy.js
+++ b/src/Tippy.js
@@ -221,7 +221,11 @@ export default function TippyGenerator(tippy) {
{mounted &&
createPortal(
render
- ? render(toDataAttributes(attrs), singletonContent)
+ ? render(
+ toDataAttributes(attrs),
+ singletonContent,
+ mutableBox.instance,
+ )
: content,
mutableBox.container,
)}
diff --git a/test/Tippy.test.js b/test/Tippy.test.js
index 6c5fd2d..e9433c0 100644
--- a/test/Tippy.test.js
+++ b/test/Tippy.test.js
@@ -459,6 +459,25 @@ describe('', () => {
expect(instance.popper.firstElementChild).toMatchSnapshot();
});
+ test('render prop instance', () => {
+ let _instance;
+ render(
+ {
+ _instance = instance;
+ return Hello
;
+ }}
+ showOnCreate={true}
+ >
+
+ ,
+ );
+
+ jest.runAllTimers();
+
+ expect(_instance).toBe(instance);
+ });
+
test('render prop preserve popperOptions', () => {
const element = (