-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Describe the bug
In the chat input box, when typing @ and the file picker popped up, there's no visible effects if I hover or navigate through the files listed. This happened on both light and dark mode.
Related component: MentionPopover - there's hover:bg-bgSubtle but it doesn't seem to display any changes
goose/ui/desktop/src/components/MentionPopover.tsx
Lines 541 to 578 in e9024b7
| <> | |
| {displayItems.length > 0 && ( | |
| <div className="text-xs text-textSubtle mb-2 px-1"> | |
| {displayItems.length} item{displayItems.length !== 1 ? 's' : ''} found | |
| </div> | |
| )} | |
| <div | |
| ref={listRef} | |
| className="space-y-1 overflow-y-auto flex-1 scrollbar-thin scrollbar-thumb-borderStandard scrollbar-track-transparent" | |
| style={{ maxHeight: '280px' }} | |
| > | |
| {displayItems.map((item, index) => ( | |
| <div | |
| key={item.extra} | |
| onClick={() => handleItemClick(index)} | |
| className={`flex items-center gap-3 p-2 rounded-md cursor-pointer transition-colors ${ | |
| index === selectedIndex | |
| ? 'bg-bgProminent text-textProminentInverse' | |
| : 'hover:bg-bgSubtle' | |
| }`} | |
| > | |
| <div className="flex-shrink-0 text-textSubtle"> | |
| <ItemIcon item={item} /> | |
| </div> | |
| <div className="flex-1 min-w-0"> | |
| <div className="text-sm truncate text-textStandard">{item.name}</div> | |
| <div className="text-xs text-textSubtle truncate">{item.extra}</div> | |
| </div> | |
| </div> | |
| ))} | |
| {!isLoading && displayItems.length === 0 && query && ( | |
| <div className="p-4 text-center text-textSubtle text-sm"> | |
| No items found matching "{query}" | |
| </div> | |
| )} | |
| </div> | |
| </> |
Screencast.From.2026-01-27.14-40-07.webm
To Reproduce
Steps to reproduce the behavior:
- Open Goose
- Press
@to load list of files on a directory - Press
Arrow Up/Arrow Down, - or hover any files in the list
Expected behavior
It should have some different background color or overlay. Preferably lighter color overlay when hovering and stronger color overlay when selecting/navigating the list using arrow keys.
Screenshots
Please provide the following information
- OS & Arch: Linux - Bluefin based on Fedora 43, 64-bit
- Interface: UI/Desktop
- Version: v1.12.1 via ublue-os/tap/goose-linux Brew cask
- Not a model or extension issue
Additional context: Screen recording when inspecting the UI