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

ReadMore 展开阅读更多bug #270

Closed
LayHuts opened this issue Jan 31, 2024 · 1 comment
Closed

ReadMore 展开阅读更多bug #270

LayHuts opened this issue Jan 31, 2024 · 1 comment

Comments

@LayHuts
Copy link

LayHuts commented Jan 31, 2024

对于ReadMore中内容是动态的,初次加载后内容高度超过showHeight 会显示 '展开阅读更多', 如果后面再动态改变内容后调用init也无法关闭 '展开阅读更多',isLongContent 还是为true 。
后来改了init方法源码 ,加了else判断
image

@ijry
Copy link
Owner

ijry commented Apr 10, 2024

已使用上述方式修复

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