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
先将text属性设置为“一段超长会导致滚动的文本一段超长会导致滚动的文本” 再将text属性更新为“短文本” 时 组件不会停止自动滚动
1.11.7
notice-bar组件 init方法
init方法
if (scrollable || wrapRect.width < contentRect.width) { _this.initAnimation(wrapRect.width, contentRect.width); _this.scroll(true); }
处 应添加else{_this.scroll(false);}(?)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
重现链接
先将text属性设置为“一段超长会导致滚动的文本一段超长会导致滚动的文本”
再将text属性更新为“短文本” 时 组件不会停止自动滚动
Vant Weapp 版本
1.11.7
描述一下你遇到的问题。
先将text属性设置为“一段超长会导致滚动的文本一段超长会导致滚动的文本”
再将text属性更新为“短文本” 时 组件不会停止自动滚动
notice-bar组件
init方法
处 应添加else{_this.scroll(false);}(?)
重现步骤
先将text属性设置为“一段超长会导致滚动的文本一段超长会导致滚动的文本”
再将text属性更新为“短文本” 时 组件不会停止自动滚动
设备/浏览器
No response
The text was updated successfully, but these errors were encountered: