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

[Bug]: 阅读增强插件在前几下(or 十秒内)切换时无效 #312

Open
xsjcTony opened this issue Sep 20, 2024 · 3 comments · Fixed by #321
Open

[Bug]: 阅读增强插件在前几下(or 十秒内)切换时无效 #312

xsjcTony opened this issue Sep 20, 2024 · 3 comments · Fixed by #321

Comments

@xsjcTony
Copy link

xsjcTony commented Sep 20, 2024

layoutSwitch.disableAnimation 在页面加载之后十秒左右之内是无效的, 依然会有动画transition效果. 刷新页面可以持续触发这个问题

  • 其实动画也没什么不好, 但是在切换page layout的时候 (比如home到doc) nav那儿属实不太好看, 尤其搜索框.

Reproduction:
就用我这个WIP项目吧.. 反正关于Vitepress的部分也不复杂 https://github.com/xsjcTony/remark-magic-link

@xsjcTony xsjcTony changed the title [Bug]: 阅读增强插件 content-container css 优先级不够, disableAnimation 在前几下切换时无效 [Bug]: 阅读增强插件在前几下(or 十秒内)切换时无效 Sep 20, 2024
@nekomeowww
Copy link
Member

Sorry for the delayed response and fixes, will fix this on #321

@xsjcTony
Copy link
Author

xsjcTony commented Oct 16, 2024

@nekomeowww Sorry, but seems the issue still exists with v2.6.1.
I've tried cleaning up caches and tried the production build, but it's still with the animation for the first few seconds upon page opening / refreshing.
If you can confirm this is still happening, please re-open this, or please let me know what I should do to make it work, thanks.

@nekomeowww nekomeowww reopened this Oct 18, 2024
@nekomeowww
Copy link
Member

Just came back from little trip. Will try to resolve this ASAP. Sorry for waiting.

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

Successfully merging a pull request may close this issue.

2 participants