antvis/G6



Do you want to work on this issue?
You can request for a bounty in order to promote it!
[V5] React自定义节点拖拽时,屏幕外的节点不显示 #5841
wanghui2021 posted onGitHub
问题描述
使用 React 自定义节点时,屏幕外的节点没有渲染
重现链接
https://stackblitz.com/edit/react-b54nef?file=index.js
重现步骤
- 进入页面
- 拖拽页面
预期行为
屏幕外的节点拖拽到可视区,节点显示
平台
- 操作系统: [macOS, Windows, Linux, React Native ...] macOS
- 网页浏览器: [Google Chrome, Safari, Firefox] Google Chrome
- G6 版本: [4.5.1 ... ] 5.0.1
屏幕截图或视频(可选)
<img width="517" alt="image" src="https://github.com/antvis/G6/assets/37385554/c0fa5d65-5145-458d-b23f-f36ec07e4f77"> 红色区域内的节点不显示 <img width="508" alt="image" src="https://github.com/antvis/G6/assets/37385554/86c9da28-2431-4916-b0fb-a9b1840a3b33"> react 节点超出画布范围
补充说明(可选)
No response