-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link UI: Fix focus styles w/ suggestions showing #18292
Conversation
@getdave Do we need those top & bottom gradients at all? They're going from white to transparent on a white background. Edit: never mind, I see now that they're there to gracefully hint at more results. |
Testing this now... Also I rebased.
Yep that's why I added them. Tiny hint, but makes a big different in my manual testing. |
0b8a68c
to
b952fdf
Compare
LGTM 👍, you will need to rebase it, though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A more complex way of doing this might be to add a
However, if we can solve via CSS that would be a lot easier. |
For my understanding, you want the gradient and the last item not to overlap at all? Because currently the background and gradient are both white and you won't notice it until the text gets scrolled down. See also #18135 (comment) |
My understanding was
The key is that the gradient only shows in the direction where there are items below the visible area. |
Yeah I'm not sure we're doing ourselves a favor by trying to make that dynamic. Let me adjust the gradient first and see if that fixes it enough for now. |
After e0bb753: Last item, scrolled all the way to the bottom: Highlighted item with room to scroll: |
I tested this and I can longer see the gradient overlapping. |
Description
Limits the height of the suggestion list's top & bottom gradient.
How has this been tested?
Screenshots
Before:
After:
Types of changes
Bug fix (non-breaking change which fixes an issue) as described in #18135.
Checklist: