Repository navigation
Inbox review: the bar under a file's name shows on hover, or under a finger while it moves - #2698
Merged
Merged
Conversation
…inger while it moves Only in the Inbox's review (.ib-rv-walk); the guide pane and the review app keep it on show. It sits on the header's edge, so showing it moves nothing, and hidden it takes no pointer. Sideways wheel and trackpad scrolling belong to the code and still work. On a phone the file under the finger shows it while that file or the page moves, including momentum, and it goes 700ms later.
Guards the (hover: hover) rule: without it a phone's sticky hover brings the bar up after any tap on the file. The tap opens the comment composer, so the bar is checked with it open and after it closes.
backnotprop
marked this pull request as ready for review
November 5, 2026 19:57
# Conflicts: # packages/inbox/components/ReviewPane.tsx
yermakoffivan
pushed a commit
to yermakoffivan/plannotator
that referenced
this pull request
Nov 6, 2026
The owner's decision: a normal scrollbar at the bottom of each diff, the diff library's own, and the custom bar under the file name taken out. - Remove DiffHScrollbar (backnotprop#1586) from the review app and the Inbox, with the Inbox's hover and finger rules for it (backnotprop#2698) and its e2e tests. - Stop hiding Pierre's horizontal scrollbar. theme.css's scrollbar-color reached into Pierre's shadow root by inheritance, and Chrome then drops Pierre's ::-webkit-scrollbar sizing: a 15px classic bar its layout did not count, cut off at the file's edge. diffs-container resets it, so Pierre keeps its 6px bar and the room it counts for it. - Give the thumb a quiet visible colour in light and dark (Pierre leaves it transparent until hover). - The Inbox (a file as tall as its layout) counts Pierre's 8px under the last row, so the bar sits inside the file's box.
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.
The owner chose option B for the grey bar under each file name. Follows #2679, which has merged.
What changes
In the Inbox's review only (
.ib-rv-walk):What stays the same
aria-hidden, not focusable), and that has not changed.No new words, no new shortcuts. No changes to
packages/review-editor,packages/guide-viewerorpackages/ui.One behaviour to know
Hidden, the bar takes no pointer, so a tap on that strip mostly stops jumping the code sideways. The review measured it: tapping 1.5 to 3px into the strip already folded the file before this PR, and this change adds only about the top pixel to that. The accidental sideways jump at the bottom edge is gone.
Proof
(hover: hover)guard, which fails when a tap on a code line brings the bar up through a phone's sticky hover.guideDiffStyle.test.tsxwas not run, because it starts an Inbox server.tsconpackages/inboxis clean.