Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: 自定义节点嵌套 logicflow时,右键菜单事件 怎么区分? #1496

Closed
io-o opened this issue Feb 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@io-o
Copy link

io-o commented Feb 5, 2024

发生了什么?

image 如图所以,循环容器是自定义html节点,里面会生成一个新的 logicflow实例,可以往里面拖拽节点,右键菜单,怎么区分。 目前测试,内部节点右键触发不了。

logicflow/core版本

1.2.16

logicflow/extension版本

1.2.17

logicflow/engine版本

No response

浏览器&环境

Chrome

@io-o io-o added the bug Something isn't working label Feb 5, 2024
@boyongjiong
Copy link
Collaborator

补充一下信息,提供一个 demo 我们看下效果

目前字面上理解感觉就是自定义 HTML 内部元素的事件阻止默认事件或阻止冒泡就行,但不确定你是怎么实现的。

@io-o
Copy link
Author

io-o commented Feb 7, 2024

补充一下信息,提供一个 demo 我们看下效果

目前字面上理解感觉就是自定义 HTML 内部元素的事件阻止默认事件或阻止冒泡就行,但不确定你是怎么实现的。

自定义HTML 内部元素,阻止了 事件冒泡,外层可以不触发, 但是内部的右键事件一直无法触发。。。

@io-o io-o closed this as completed Mar 1, 2024
@io-o
Copy link
Author

io-o commented Mar 1, 2024

已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants