Repository navigation
fix: 修复首页快速点击进入后卡在加载动画 - #5
Merged
HsiangNianian merged 2 commits intoOct 12, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
首页加载到 100% 后,如果在「点击进入」刚出现时点击,页面会永久停在加载层。按钮比 GSAP 时间线的暂停点提前约 0.6 秒启用:点击先设置了已进入标记,但时间线随后仍暂停,后续点击又被该标记拦截。
将按钮启用和等待动效移到时间线的暂停回调中,确保点击可以恢复已经暂停的动画。保留暗室显影、点击进入、键盘操作及每会话一次的行为,并同步 DESIGN 与 TODO。
验证:
bun run lint、bun run build、git diff --check通过。浏览器断言使用临时脚本,未新增测试依赖;未覆盖 Safari、Firefox。构建仍有现存主包超过 500 KB 的提示。本 PR 未执行合并或部署。