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]: 自定义HtmlNode在Chrome浏览器下选中时会有一个outline #1437

Closed
tianyk opened this issue Nov 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tianyk
Copy link

tianyk commented Nov 23, 2023

发生了什么?

自定义HtmlNode在Chrome浏览器下选中时会有一个outline,通过getOutlineStyle覆盖和nodeSelectedOutline: false都无法解决。

image

测试发现此outline为foreignObject默认样式,通过设置其样式 outline: none 可以隐藏。

logicflow/core版本

1.2.18

logicflow/extension版本

1.2.18

logicflow/engine版本

No response

浏览器&环境

Chrome

@tianyk tianyk added the bug Something isn't working label Nov 23, 2023
@tianyk tianyk changed the title [Bug Report]: [Bug Report]: 自定义HtmlNode在Chrome浏览器下选中时会有一个outline Nov 23, 2023
@boyongjiong
Copy link
Collaborator

所以这个看起来跟 getOutlineStyle覆盖和nodeSelectedOutline: false 没有关系,不是同一个东西。

还是用 outline: none 处理就行。

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