We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f90ba commit 40351cdCopy full SHA for 40351cd
packages/inula-dev-tools/src/injector/pickElement.ts
@@ -42,7 +42,10 @@ function onMouseMove(event: MouseEvent) {
42
event.preventDefault();
43
event.stopPropagation();
44
45
- const target = (event.target as any)._inula_VNode;
+ // const target = (event.target as any)._inula_VNode;
46
+ const key = Object.keys(event.target).find(k => k.startsWith('_inula_vNode_'));
47
+ const target = key ? event.target[key] : null;
48
+
49
if (target) {
50
const id = VNodeToIdMap.get(getUserComponent(target));
51
const vNode = queryVNode(id);
0 commit comments