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

nut-ellipsis组件,内容长度太长时,不是一次性隐藏,而是逐步一点点隐藏的(有点想个动画效果) #3212

Open
CoderBCat opened this issue Oct 16, 2024 · 1 comment

Comments

@CoderBCat
Copy link

NutUI 包名

@nutui/nutui-taro

NutUI 版本号

4.3.13

平台

tt

重现链接

https://res.maozui.net/test/nut_ellipsis_bug2.mp4

重现步骤

使用nut-ellipsis组件 ,当内容长度达到可以让组件显示 展开按钮时。页面加载未展开隐藏的内容是逐步隐藏的。而不是直接隐藏。
效果展示视频 https://res.maozui.net/test/nut_ellipsis_bug2.mp4

期望的结果是什么?

当页面加载,组件加载时超出的文本内容直接隐藏,而不是逐步隐藏。

实际的结果是什么?

当页面加载,组件加载时超出的文本内容,会先隐藏一部分,然后再逐步调整到合适的位置

环境信息

No response

其他补充信息

No response

@faqfaqfaqfaq
Copy link

我也发现了这个问题有没有方法解决

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

No branches or pull requests

2 participants