ant-design/ant-design-mobile

[Ellipsis] 当 Ellipsis 处于 forceRender 的 tab 中,tab 第一次变为可见时,Ellipsis 会闪烁

开放

#6,063 创建于 2023年3月23日

 (5 条评论) (0 个反应) (0 位负责人)TypeScript (2,313 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (11,238 个星标)
PR 合并指标
 (平均合并 7小时 11分钟) (30 天内合并 8 个 PR)

描述

Version of antd-mobile

5.28.1

Operating system and its version

Others

Browser and its version

chorme 111

Sandbox to reproduce

https://codesandbox.io/s/nifty-moore-451y9s?file=/src/App.tsx

What happened?

当 Ellipsis 处于 forceRender 的 tab 中,tab 第一次变为可见时,Ellipsis 会闪烁(没隐藏超出部分 -> 隐藏超出部分)

期望:tab 第一次变为可见时,Ellipsis 正常展示(正常隐藏超出的部分),不发生闪烁。

Relevant log output

No response

贡献者指南