Repository navigation
Conversation
Author
|
A note on validation: this fix was tested in a temporary local browser harness rendering the actual notification React component and application CSS but not running the full Laravel app locally (I should probably sort that out if I'm going to do anything else :-D) So if this PR is merged, it would be well worth doing a visual check in the running app: expand a followers group, scroll it under the notification header on desktop and mobile, and check that profile previews and follow buttons still behave as expected. |
Contributor
|
Already fixed, thanks for the contribution though! |
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.
Expanding a notification group (for example, “2 followers”) and scrolling it underneath the sticky header makes the follower names and handles paint over the title and filter buttons. This happens on desktop as well as mobile.
The expanded names use
relative z-10, matching the header'sz-10, and appear later in the DOM. #706 isolated the summary content, but the expanded list is rendered outside that wrapper. #570 subsequently added the positioned profile-preview triggers to expanded rows.Add
isolateto the expanded group wrapper so its descendants stay below the header. The shared wrapper covers every expandable notification type.Validation:
NotificationIndex.test.tsxandNotificationInbox.test.tsxpass.bun run test:typespasses.bun run test:lintcompletes with warnings and no errors; formatting passes.