fix tippy position

This commit is contained in:
Philipp Kühn
2021-01-20 11:32:58 +01:00
parent 8f95eb6aed
commit faa8842698
2 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ export default {
})
popup = tippy('body', {
getReferenceClientRect: () => props.clientRect,
getReferenceClientRect: props.clientRect,
appendTo: () => document.body,
content: component.element,
showOnCreate: true,
@@ -63,7 +63,7 @@ export default {
component.updateProps(props)
popup[0].setProps({
getReferenceClientRect: () => props.clientRect,
getReferenceClientRect: props.clientRect,
})
},
onKeyDown(props) {