-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
改进列表折叠与展开,优化单个列表块的性能 #10936
Comments
不推荐。 |
那就是在极少数特定情况下了。 我提的这个 issue 是能显著提高性能的,只是如果不实现「预加载」的话,「动态加载」反而会降低非纯大纲笔记用户的体验,所以只能暂时搁置本 issue 了。 |
@TCOTC 其实这个要动态加载,就得像标题那样 折叠展开延迟一两秒了 |
觉得没什么意义 |
你应该不用纯大纲
如果你指的是折叠状态,现在就是会“记忆”的 |
关注一下 以前试过用纯大纲编辑多层级的内容很卡 |
不考虑了,没有好的实现方案。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In what scenarios do you need this feature?
目前的列表一次性加载全部层级的内容,这个机制对纯大纲使用者不太友好,在使用一个列表块的情况下打开文档要加载完整个文档的内容,列表项块数越多性能就越差。改为像标题折叠与展开那样动态加载的话能提高性能、使用更流畅
Describe the optimal solution
打开文档时优先加载展开的内容块,预加载 ( #10935 ) 折叠的内容块
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: