antvis / X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.
https://x6.antv.antgroup.com
MIT License
5.65k stars 1.69k forks source link

MiniMap +React Portal 冲突,node 渲染被刷掉了 #3865

Open a571534729 opened 1 year ago

a571534729 commented 1 year ago

Describe the bug

MiniMap +React Portal 有冲突,node 渲染被洗掉了 似乎是因为portal 模式下,minimap就不能再创建新的chart了

https://github.com/antvis/X6/discussions/3622

Your Example Website or App

https://codesandbox.io/s/trusting-blackburn-thxctn?file=/App.tsx

Steps to Reproduce the Bug or Issue

  1. 即使点击Add count,也显示不了node节点

Expected behavior

minimap 与 portal 都能正常

Screenshots or Videos

image

Platform

Additional context

No response

x6-bot[bot] commented 1 year ago

👋 @a571534729

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

xswei commented 10 months ago

解决了吗老哥,我也遇到了类似的问题