Skip to content

fix(internal-explorer): stop block row dividers flashing on updates - #230

Merged
dguenther merged 1 commit into
mainfrom
derek/block-row-divider-flash
Nov 19, 2026
Merged

dguenther merged 1 commit into
mainfrom
derek/block-row-divider-flash

Conversation

@dguenther

Copy link
Copy Markdown
Contributor

Summary

Fixes a line that flashes at the boundary between new and existing rows each time the Internal Explorer block list updates.

Block rows used transition-colors, which animates border-color as well as the hover background. With divide-y, the first row has no divider and keeps Tailwind's default border color. When new blocks are prepended, the previous first row starts matching the divider rule, so its new 1px top border faded from the default color to the divider color over 150ms. With streaming updates this happens every update, and it is most visible in dark mode.

The row now transitions only background-color, which is all the hover effect changes.

Testing

  • Sampled the computed border-top-color of the previous first row every animation frame across an update. Before the change it fades from rgb(229, 231, 235) to rgb(239, 239, 239) over about 14 frames. After the change it is rgb(239, 239, 239) from the first frame.
  • Hover background still fades.
  • npm run typecheck and eslint app/internal-explorer pass, with no new warnings.

Block rows used transition-colors, which also animates border-color. When
new blocks are prepended, the previous first row starts matching
divide-y, so its top border faded from Tailwind's default border color to
the divider color, flashing a line at every update. Transition only the
hover background instead.
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Nov 19, 2026 3:01pm UTC

Request Review

@cb-heimdall

cb-heimdall commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Heimdall Review Status

Requirement Status More Info
Reviews ✅ 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
1 if authored by an app that is not allowlisted and lacks verified human attribution 0
Sum 1

@dguenther
dguenther added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 79a9f31 Nov 19, 2026
13 checks passed
@dguenther
dguenther deleted the derek/block-row-divider-flash branch November 19, 2026 18:50

This branch was successfully deployed

1 active deployment
Preview — 012fe69b Deployed Nov 19, 2026 by vercel[bot]
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.

3 participants