Repository navigation
[slider] Fix edge thumb alignment after reveal - #4354
Conversation
commit: |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
bbe1783 to
a61e762
Compare
Codex ReviewOverviewThis patch fixes the slider case where Findings (None)No blocking issues found in this patch. I also did a second pass over render and effect timing, hydration safety, accessibility semantics, API and state design, maintainability, performance, and regression coverage, and I did not find any actionable issues in those areas. Confidence: 4/5High confidence based on a full-branch diff review, focused JSDOM and Chromium verification, an explicit category sweep with subagents, and the added range regression test covering the previously missing trailing-indicator branch. Notes
|
Fixes #4303
Summary
This fixes the
thumbAlignment="edge"slider case where measuring while hidden could produceNaN%positions that never recovered after the container became visible.Changes
NaN.ResizeObserverwhen the thumb or control size changes.display: noneand later becomes visible.