fix(core): check if handle is connectable

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-06 23:07:59 +01:00
committed by Braks
parent 66e210adf4
commit f83c87db08
2 changed files with 3 additions and 2 deletions
@@ -169,6 +169,7 @@ export default function useHandle({
// todo: remove `vue-flow__handle-connecting` in next major version
handleDomNode.classList.add('connecting', 'vue-flow__handle-connecting')
handleDomNode.classList.toggle('valid', isValid)
// todo: remove this in next major version
handleDomNode.classList.toggle('vue-flow__handle-valid', isValid)
}
}