Repository navigation
fix(internal-explorer): stop block row dividers flashing on updates - #230
Merged
Merged
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
✅ Heimdall Review Status
|
0xth4nh
approved these changes
Nov 19, 2026
This branch was successfully deployed
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.
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 animatesborder-coloras well as the hover background. Withdivide-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
border-top-colorof the previous first row every animation frame across an update. Before the change it fades fromrgb(229, 231, 235)torgb(239, 239, 239)over about 14 frames. After the change it isrgb(239, 239, 239)from the first frame.npm run typecheckandeslint app/internal-explorerpass, with no new warnings.