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

内核版本 126+,embedding 方法移动到父节点中,父节点外侧的 g 标签会无限扩大 #4343

Open Midwinter16 opened 2 months ago

Midwinter16 commented 2 months ago

Describe the bug

版本 1.34.6,网站的演示 https://x6.antv.vision/zh/docs/tutorial/basic/group#%E9%80%9A%E8%BF%87%E4%BA%A4%E4%BA%92%E5%88%9B%E5%BB%BA%E5%B5%8C%E5%A5%97 中,移动子节点到父节点时,highlight 范围会逐渐往无限制范围扩大 image 目前只发现在 chrome 内核版本为 126 以上存在这个问题

Your Example Website or App

https://x6.antv.vision/zh/docs/tutorial/basic/group#%E9%80%9A%E8%BF%87%E4%BA%A4%E4%BA%92%E5%88%9B%E5%BB%BA%E5%B5%8C%E5%A5%97

Steps to Reproduce the Bug or Issue

官网 - antv x6 - 基础教程 - 群组 - 通过交互创建嵌套

Expected behavior

之前是不会导致被嵌入节点的 g 标签扩大

Screenshots or Videos

No response

Platform

chrome 内核版本 126

Additional context

No response

x6-bot[bot] commented 2 months ago

👋 @Midwinter16

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.

yuekcc commented 2 months ago

chrome 升级到 126.0.6478.115,不复现这个问题了。edge 126.0.2592.61 存在这个问题。