From ee274b267fdb7db8d8cc95c10a1289ecb7d46b04 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Mon, 27 Apr 2026 11:49:42 +0200 Subject: [PATCH] Fix: render TOTALS tooltip via ReactDOM portal to document.body, escaping all stacking contexts Co-Authored-By: Claude Sonnet 4.6 (1M context) --- components/WeeklyGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/WeeklyGrid.tsx b/components/WeeklyGrid.tsx index 8788a05..c9935de 100644 --- a/components/WeeklyGrid.tsx +++ b/components/WeeklyGrid.tsx @@ -455,7 +455,7 @@ const WeeklyGrid: React.FC = ({ XLSX.writeFile(wb, `Weekly_Sales_Export_${new Date().toISOString().slice(0, 10)}.xlsx`); }, [sortedRows, allWeeks, weekTotals]); - return ( + const mainContent = (
{/* Toolbar: Search & Pagination */}