X6 icon indicating copy to clipboard operation
X6 copied to clipboard

Stencil 面板上的节点label偏移的情况下,拖动节点到画布的过程中节点label会出现异常

Open chen-i opened this issue 3 years ago • 2 comments

Describe the bug

Stencil 面板上的节点label偏移的情况下,拖动节点到画布的过程中节点label会出现异常

Your Example Website or App

https://codesandbox.io/s/cocky-shtern-45rc5k?file=/src/app.tsx:433-437

Steps to Reproduce the Bug or Issue

如题

Expected behavior

label 能正常显示

Screenshots or Videos

No response

Platform

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

Additional context

如题

chen-i avatar Aug 24 '22 07:08 chen-i

👋 @chen-i

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.

x6-bot[bot] avatar Aug 24 '22 07:08 x6-bot[bot]

先记录一下原因:拖拽节点的文本是异步渲染的,拖拽画布 FitToContent 的时候计算节点尺寸没有包括到下面的 label,导致一部分文本显示不出来 我们会在 2.0 版本修复这个问题,大概 10 月初发布。

NewByVector avatar Sep 01 '22 07:09 NewByVector

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

x6-bot[bot] avatar Jul 12 '24 01:07 x6-bot[bot]