update tippy position

This commit is contained in:
Philipp Kühn 2021-01-19 12:11:43 +01:00 committed by Hans Pagel
parent 953afb7c0d
commit a97c07dc73

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)