From a97c07dc73097db4a8f676ebf2cbd0212b0fed4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Tue, 19 Jan 2021 12:11:43 +0100 Subject: [PATCH] update tippy position --- docs/src/demos/Nodes/Mention/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/demos/Nodes/Mention/index.vue b/docs/src/demos/Nodes/Mention/index.vue index 6cd716f02..1aafe52dd 100644 --- a/docs/src/demos/Nodes/Mention/index.vue +++ b/docs/src/demos/Nodes/Mention/index.vue @@ -57,6 +57,10 @@ export default { }, onUpdate(props) { component.updateProps(props) + + popup[0].setProps({ + getReferenceClientRect: () => props.virtualNode.getBoundingClientRect(), + }) }, onKeyDown(props) { return component.vm.onKeyDown(props)