We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.34.0
iOS, Android, Others
Chrome 127.0.6533.100
https://codesandbox.io/s/inspiring-bird-hjrrxf?file=/app.tsx
问题:在 Tab 切换时,Ellipsis 外部容器的 display 发生变化,Ellipsis 内部的 ResizeObserver 触发回调,重新计算,导致文本抖动 期望:无文本抖动 PS: 是否能去掉 ResizeObserver 的监听
No response
The text was updated successfully, but these errors were encountered:
遇到相同问题,状态切换时文本出现展开收缩的闪烁
Sorry, something went wrong.
这不是 ResizeObserver 引起的,而是因为内部做了 raf 防抖防止性能损耗。这是个取舍问题,移动端下需要考虑老年机跑不动实时的。
No branches or pull requests
Version of antd-mobile
5.34.0
Operating system and its version
iOS, Android, Others
Browser and its version
Chrome 127.0.6533.100
Sandbox to reproduce
https://codesandbox.io/s/inspiring-bird-hjrrxf?file=/app.tsx
What happened?
问题:在 Tab 切换时,Ellipsis 外部容器的 display 发生变化,Ellipsis 内部的 ResizeObserver 触发回调,重新计算,导致文本抖动
期望:无文本抖动
PS: 是否能去掉 ResizeObserver 的监听
Relevant log output
No response
The text was updated successfully, but these errors were encountered: