update tippy position

This commit is contained in:
Philipp Kühn 2021-01-19 12:11:43 +01:00
parent 7712325ba9
commit 214f25a0ae

View File

@ -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)