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]: 内置插件小地图miniMap的选中框变成了个蓝点,并且移动蓝点会疯狂报错 #1593

Open
Ljy66 opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Ljy66
Copy link

Ljy66 commented Apr 29, 2024

发生了什么?

  • 在vue3项目中使用logicflow以及内置插件小地图MiniMap,实际渲染效果却是个蓝点,并且拖动蓝点时会报错,如下图

image

  • 报错信息【“Error: attribute transform: Expected number, "…atrix(1,0,0,1,0,NaN)".】
    image

  • 效果录屏
    logicflow的bug

  • 代码

 const handleClick = (e:any)=>{
   const position = lf.value?.getPointByClient(e.x, e.y) as any
   const x = position?.domOverlayPosition.x || 700
   lf.value?.extension.miniMap.show(x - 120, 40)
}

logicflow/core版本

1.2.26

logicflow/extension版本

1.2.26

logicflow/engine版本

No response

浏览器&环境

Chrome

@Ljy66 Ljy66 added the bug Something isn't working label Apr 29, 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

1 participant