Repository navigation
fix(Pulse): keep a live signal under reduced motion - #509
Merged
Merged
Conversation
The global reduced-motion rule cut the halo's scale animation to one 0.01ms run, leaving a flat full-size disc. Pulse is marked essential motion and, under reduced motion, its halo stays at a fixed size and fades in and out instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
…motion # Conflicts: # CHANGELOG.md
Member
Author
|
This visual change is intended, so I've labelled the PR The larger Generated by Claude Code |
4 tasks done
lorant-one
pushed a commit
that referenced
this pull request
Nov 19, 2026
Pulse's reduced-motion fix (#509) moves to PulseRing, which StatusIndicator pulse draws in 3.0; CodeBlock's file tabs (#508) use SegmentedControl's onValueChange; rimraf ^6.1.4 (#529); lockfile regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
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.
Requested by Lorant · project thread
What
A user report and Lorant both saw the "Start with Pro: N spots at this price" badge on once-ui.com showing a flat, still blue disc where the dot should pulse.
Cause: the global reduced-motion rule from the accessibility drill (#213) shortens every animation to a single 0.01ms run. Pulse's halo animates
scale(0 → 1)andopacity(1 → 0). Once that one run ends, the halo goes back to its base style, which is full size and fully opaque. So anyone whose OS asks for reduced motion sees a big static disc. Windows with "Animation effects" off counts, and Firefox follows that setting. On live once-ui.com/pricing with Chromium'sreducedMotion: 'reduce', the halo readsanimation-duration: 1e-05s, opacity 1 and no transform. Without reduced motion it pulses normally. This was not a regression from the recent studio ship.Fix:
data-motion="essential", so the global rule leaves it alone. Spinner and LogoSpinner already do this.prefers-reduced-motion: reduce, the halo no longer grows. It stays at 0.6 scale and fades its opacity 0 → 0.5 → 0 over 2.4s. The dot still reads as live, and nothing moves.This doesn't break anything. Studio picks it up when it moves to the next core release.
Checks
Generated by Claude Code