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

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

Closed
chen-i opened this issue Aug 24, 2022 · 3 comments · Fixed by #3767
Labels
type: bug 缺陷 Defects and unexpected behaviors v2.0 will fix in v2.0

Comments

@chen-i
Copy link

chen-i commented Aug 24, 2022

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

如题

@x6-bot
Copy link
Contributor

x6-bot bot commented Aug 24, 2022

👋 @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.

@chen-i chen-i changed the title Stentic 面板上的节点label偏移的情况下,拖动节点到画布的过程中节点label会出现异常 Stencil 面板上的节点label偏移的情况下,拖动节点到画布的过程中节点label会出现异常 Aug 24, 2022
@NewByVector
Copy link
Contributor

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

@NewByVector NewByVector added the v2.0 will fix in v2.0 label Sep 1, 2022
@NewByVector NewByVector added the type: bug 缺陷 Defects and unexpected behaviors label Jan 31, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 12, 2024

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 x6-bot bot locked as resolved and limited conversation to collaborators Jul 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug 缺陷 Defects and unexpected behaviors v2.0 will fix in v2.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants