style(web): command palette scrollbar visibility and styling#1093
Merged
tyler-dane merged 3 commits intomainfrom Oct 10, 2025
Merged
style(web): command palette scrollbar visibility and styling#1093tyler-dane merged 3 commits intomainfrom
tyler-dane merged 3 commits intomainfrom
Conversation
Co-authored-by: tyler-dane <30163055+tyler-dane@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix scrollbar visibility in command palette
Fix command palette scrollbar visibility and styling
Oct 9, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the command palette scrollbar visibility and styling issues by adding comprehensive CSS styling to the GlobalStyle component. The scrollbar was previously invisible when scrolling and not using the correct themed colors.
- Adds webkit scrollbar styling for the command palette's scrollable container
- Implements proper hover and focus states to show/hide the scrollbar
- Integrates themed colors from the design system
94214a6 to
ecef58b
Compare
tyler-dane
approved these changes
Oct 10, 2025
victor-enogwe
pushed a commit
that referenced
this pull request
Oct 24, 2025
* Initial plan * Fix command palette scrollbar visibility and styling Co-authored-by: tyler-dane <30163055+tyler-dane@users.noreply.github.com> * style(web): remove redundant scrollbar styles --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tyler-dane <30163055+tyler-dane@users.noreply.github.com> Co-authored-by: Tyler Dane <tyler@switchback.tech>
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.
Fixes the command palette scrollbar not being visible when scrolling and ensures it uses the correct themed colors.
Problem
The command palette's scrollbar was:
This confused users who couldn't tell if there were more options below the visible area.
Solution
Added comprehensive scrollbar styling to the GlobalStyle component that targets react-cmdk's
.overflow-y-autoscrollable container:theme.color.panel.scrollbarandtheme.color.panel.scrollbarActiveImplementation Details
The fix uses webkit scrollbar pseudo-selectors with multiple trigger states:
Screenshots
Closes #[issue-number]
Original prompt
Fixes #1089
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.