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

一个页面存在多个画布实例时,使用X6ReactPortalProvider 获取上下文时 会使多个画布中自定义react节点之间渲染混乱 #4452

Open
a6917030 opened this issue Sep 25, 2024 · 2 comments

Comments

@a6917030
Copy link

Describe the bug

一个页面存在多个画布实例时,使用X6ReactPortalProvider 获取上下文时 会使多个画布之间渲染混乱

Your Example Website or App

quest

Steps to Reproduce the Bug or Issue

一个页面存在两个画布时,如果使用X6ReactPortalProvider获取上下文,两个画布的内容就会渲染错乱

Expected behavior

每个画布实例单独使用

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 2.0.8]

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 25, 2024

👋 @a6917030

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.

@a6917030 a6917030 changed the title 一个页面存在多个画布实例时,使用X6ReactPortalProvider 获取上下文时 会使多个画布之间渲染混乱 一个页面存在多个画布实例时,使用X6ReactPortalProvider 获取上下文时 会使多个画布中自定义react节点之间渲染混乱 Sep 25, 2024
@a6917030
Copy link
Author

a6917030 commented Oct 8, 2024

还有一个问题,在2.0.8版本画布和地图渲染会有问题,画布的节点会渲染到小地图上面去,导致画布的节点会消失

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant