Skip to content

feat(tinytag): support width remeasurement for hidden tag - #649

Open
LuckyFBB wants to merge 1 commit into
DTStack:masterfrom
LuckyFBB:feat_648
Open

feat(tinytag): support width remeasurement for hidden tag#649
LuckyFBB wants to merge 1 commit into
DTStack:masterfrom
LuckyFBB:feat_648

Conversation

@LuckyFBB

Copy link
Copy Markdown
Collaborator

变更类型

请选择以下选项以描述 PR 的类型:

  • Bug 修复(修复现有问题)
  • 新功能(添加了一个功能)
  • 代码优化(性能改进、代码重构)
  • 文档更新
  • 单测新增或修改
  • 其他(请说明):

相关问题

#648

变更内容

改动点:TinyTag 组件新增对隐藏渲染场景下宽度动态重算的支持。通过 ResizeObserver 和 requestAnimationFrame 监听 SVG
文本元素尺寸与可见性变化,解决隐藏节点重新显示时宽度测量不准确的问题,并更新了隐藏渲染 Demo 与单元测试。

影响范围:TinyTag 组件在隐藏/延迟展示容器(如 Modal、Drawer、Tab、折叠面板等)中的文本宽度计算与排版渲染。常规直接渲染场景保持兼容。

详细描述

对应 Previewer

@LuckyFBB
LuckyFBB requested review from Cythia828 and jin-sir August 14, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant