mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
update tippy position
This commit is contained in:
parent
7712325ba9
commit
214f25a0ae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user