Skip to content

fix(ui): stop divider flicker on dialog open#46

Merged
xsmyile merged 1 commit into
masterfrom
fix/modal-open-flash
Jun 24, 2026
Merged

fix(ui): stop divider flicker on dialog open#46
xsmyile merged 1 commit into
masterfrom
fix/modal-open-flash

Conversation

@xsmyile

@xsmyile xsmyile commented Jun 24, 2026

Copy link
Copy Markdown
Member

Dialog panels animated in with transform: scale(0.95 → 1). Scaling re-samples the 1px dividers (header/tabs borders) at fractional thickness during the animation, then snaps them crisp at the end — a visible flicker, far more noticeable in light mode where dividers (zinc-200 on white) have high contrast than in dark (zinc-800 on zinc-900).

Fix: replace the scale entrance with translateY(8px → 0) + opacity (renamed scale-inpop-in). Translation is composited without re-rasterizing, so borders stay crisp throughout. Same 0.15s entrance feel.

@xsmyile xsmyile merged commit f13efa2 into master Jun 24, 2026
2 checks passed
@xsmyile xsmyile deleted the fix/modal-open-flash branch June 24, 2026 09:07
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 this pull request may close these issues.

1 participant