From 3c0a42e2980349ea4d3f229fbd6f13dda4865781 Mon Sep 17 00:00:00 2001 From: Frank Stellmacher <171614930+Psychotoxical@users.noreply.github.com> Date: Sat, 25 Apr 2026 15:50:54 +0200 Subject: [PATCH] fix(search): right-click context menu on artist + album rows (#302) Mirrors what PR #298 did for songs in the live-search dropdown: both artist and album rows now respond to right-click with the matching context menu (type 'artist' / 'album'), and pick up the .context-active highlight while their menu is open. Click-to-navigate behaviour is unchanged. Co-authored-by: Claude Opus 4.7 (1M context) --- src/components/LiveSearch.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/LiveSearch.tsx b/src/components/LiveSearch.tsx index c69e992b..b33b2604 100644 --- a/src/components/LiveSearch.tsx +++ b/src/components/LiveSearch.tsx @@ -157,9 +157,14 @@ export default function LiveSearch() {
{t('search.artists')}
{results.artists.map(a => { const i = idx++; + const isCtxActive = ctxIsOpen && ctxType === 'artist' && ctxItemId === a.id; return ( -