Repository navigation
fix: show focused content before hydration and during the entrance delay - #335
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Focused content must be visible. Before this change, it stayed transparent in two cases:
reveal.csskept server markup transparent for up to 5 s, also when it had focus. Now a:focus-withinrule setsanimation-duration: 0son the hold. A change of duration keeps the start time, so a blur does not start a new hold. After the attach, thedata-awesome-reveal-attachedrule still hides the element, sowhen: falsekeeps its behavior.motions()listens tofocusinand finishes the running animations. It usesfinish(), so thefinishedpromises resolve. An entrance that cannot finish, such as withduration: Infinity, is reported and cancelled.Core and all the adapters use
motions(), so bothreveal/cascadeand the adapter store get the fix. The size limits go up by about 200 B for core and about 300 B for each adapter bundle, CSS included.Checklist
nextbranch.!and aBREAKING CHANGE:footer.