Repository navigation
fix: keep notification text under the header when scrolling on mobile - #706
Merged
nunomaduro merged 1 commit intoOct 19, 2026
Merged
nunomaduro merged 1 commit into
nunomaduro merged 1 commit into
Conversation
On a phone, scrolling the notifications page made the names and usernames of a row show on top of the sticky header and its filter pills. Each row has a link stretched over it with a z-index, so that the whole row is clickable. Nothing contained that z-index, so the link was stacked against the page, above the header. Adding `isolate` to the row keeps the link's z-index inside its own row, and the header stays on top.
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.
Problem
On mobile, scrolling the notifications page makes the names and
@usernamesof the rows show on top of the sticky header, over the title and the filter pills. It looks broken.Change
Implementation
relative z-10), so the whole row can be clicked. Nothing contained thatz-10, so it was stacked against the whole page and ended up above the header'sz-10, which comes earlier in the DOM.isolateto the row wrapper gives each row its own stacking context. The link'sz-10now only applies inside its row, and the header stays on top.Checked
@follower). After the fix, only the header shows there.bun run test:typesandbun run test:lintpass.