Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: Journey chart overlapping tooltip

Blue Mousee7d1be51f69f
diff --git a/web/app/pages/Project/tabs/Journeys/JourneysView.tsx b/web/app/pages/Project/tabs/Journeys/JourneysView.tsx
index a7ac7f241..ad2f42a0e 100644
--- a/web/app/pages/Project/tabs/Journeys/JourneysView.tsx
+++ b/web/app/pages/Project/tabs/Journeys/JourneysView.tsx
@@ -364,7 +364,12 @@ const JourneysView = ({ tnMapping }: JourneysViewProps) => {
<>
{sliders}
{sankeyData ? (
- <div style={{ height: chartHeight }}>
+ // nivo hardcodes z-index 10 on its tooltip wrapper, while the sticky
+ // sidebar and dashboard header sit at z-20 — lift just the tooltip above them
+ <div
+ style={{ height: chartHeight }}
+ className="[&_div[style*='z-index']]:z-30!"
+ >
<ResponsiveSankey
data={sankeyData}
margin={{ top: 8, right: 8, bottom: 8, left: 8 }}