fix(TreeNode): stop keydown event propagation from content

pull/3998/head
Paul Thiel 2023-05-28 17:26:12 +02:00
parent f7531d5c67
commit c817ed9e63
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
</div>
</div>
<span :class="cx('nodeIcon')" v-bind="getPTOptions('nodeIcon')"></span>
<span :class="cx('label')" v-bind="getPTOptions('label')">
<span :class="cx('label')" v-bind="getPTOptions('label')" @keydown.stop>
<component v-if="templates[node.type] || templates['default']" :is="templates[node.type] || templates['default']" :node="node" />
<template v-else>{{ label(node) }}</template>
</span>