antvis / X6

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

@antv/x6-plugin-transform插件操作react-node时不出现边框 #4355

Open zxlaole opened 1 month ago

zxlaole commented 1 month ago

Describe the bug

@antv/x6-plugin-transform插件在变换正常图形组件时完全正常,但变换react-node类型的节点时,只要属标在某一个变换点上按下,已选择的虚线边框就消失了,只能看到拖动的这一个点。待拖动操作点完成之后,选择的组件边框即可恢复正常。 如下图所示:

image

而拖动前的效果如下:

image

Your Example Website or App

no

Steps to Reproduce the Bug or Issue

  1. 使用官方react-node的demo注册一个react-node实现。
  2. 引入transform;

Expected behavior

希望尽快得到答复。

Screenshots or Videos

No response

Platform

Additional context

No response

x6-bot[bot] commented 1 month ago

👋 @zxlaole

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.