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

使用memos作为侧边栏经常出现不显示现象 #338

Closed
zbzzh opened this issue Dec 30, 2023 · 11 comments
Closed

使用memos作为侧边栏经常出现不显示现象 #338

zbzzh opened this issue Dec 30, 2023 · 11 comments
Labels
bug Something isn't working fixed

Comments

@zbzzh
Copy link

zbzzh commented Dec 30, 2023

版本:1.21.0
在多个博客均出现此现象,在无痕模式下测试,快速刷新很容易复现,怀疑是跟渲染顺序有关,而博客加载缓慢则不容易出现,测试memos api并无并发限制,换成你的memos同样会出现,控制台无报错
image
image
image

@xaoxuu xaoxuu added the bug Something isn't working label Dec 30, 2023
xaoxuu added a commit that referenced this issue Dec 30, 2023
@xaoxuu
Copy link
Owner

xaoxuu commented Dec 30, 2023

应该是先于其依赖的 marked 加载出来了,奇怪的是用到 marked 时未定义为什么没报错。

@zbzzh
Copy link
Author

zbzzh commented Dec 30, 2023

请求作者大大修复,我经常加载不出来 /哭笑

@xaoxuu
Copy link
Owner

xaoxuu commented Dec 30, 2023

https://xaoxuu.com/blog/archives/ 你看看我这里现在还能复现出来不能了

@zbzzh
Copy link
Author

zbzzh commented Dec 30, 2023

https://xaoxuu.com/blog/archives/ 你看看我这里现在还能复现出来不能了

此页面测试已修复

@xaoxuu xaoxuu added the fixed label Dec 30, 2023
Copy link

👋 Hello,
This bug has been fixed, please update your stellar.

👋 您好,
此 BUG 已经被修复,请更新您的 Stellar 版本。

@xaoxuu
Copy link
Owner

xaoxuu commented Dec 30, 2023

那你更新一下代码就好了

@zbzzh
Copy link
Author

zbzzh commented Dec 30, 2023

ok

@zbzzh
Copy link
Author

zbzzh commented Dec 30, 2023

你好,能否将动态设置成后加载的模式,现在主页的加载速度受限于memos,大幅降低了静态博客速度,之前是没事的
在手机端感知尤为明显

@xaoxuu
Copy link
Owner

xaoxuu commented Dec 30, 2023

一直是 defer 模式的呀

@xaoxuu
Copy link
Owner

xaoxuu commented Dec 30, 2023

image

低速3G测试,在 memos.js 没开始加载之前,页面框架和样式就已经加载好了。

@zbzzh
Copy link
Author

zbzzh commented Dec 30, 2023

嗯嗯 我的意思是浏览器的加载进度条要随着memos全部加载完才完毕,我测试没有memos的页面只需150ms加载完,而加了memos的页面则须更长时间。能否调成除了memos其余元素加载完浏览器的加载条就完事,然后让memos的页面再慢慢加载

sicl5300 pushed a commit to sicl5300/hexo-theme-stellar that referenced this issue Jan 20, 2024
lliei0x pushed a commit to lliei0x-x/hexo-theme-stellar that referenced this issue Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants