---
created: 2026-04-07T03:08:30.022Z
title: Fix product sidecar stays visible when switching away from product tab
area: ui
files:
  - crates/app/ui/dashboard.slint
  - crates/app/src/main.rs
---

## Problem

When the product sidecar (detail panel) is open on the Products tab and the user switches to a different tab (e.g., Cards or Recipients), the product sidecar remains visible instead of being hidden. This creates a confusing UX where product details overlay content from an unrelated tab.

## Solution

When the active tab changes away from the Products tab, ensure the product sidecar visibility is reset to hidden. This likely involves adding a check in the tab-switch callback to close any open product sidecar panel.
