Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix: Don't truncate long unbroken event names in funnel tooltip (#60946)

Luke Belton26571dd61401
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index e0a9de19493d..eb487329d676 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -436,6 +436,10 @@ snapshots:
hash: v1.k794b7964.d074f490925cf72e2b41e358613e0cf0d1538900a2c94a9c8e5665b1812aabe4.wyeIj5VIlyOMw_Mn0jDzJfP0CoL6IX0GHixgpOM0OIk
components-funneltooltip--with-long-name--light:
hash: v1.k794b7964.ff44f29c8924a73c4fda5872c7fa9ca7907e0e3447cae3df778713382eebca83.VrmiW2CaaWOhd-ZdL5ASeNZVDsAByHiMShQpwBqe_TA
+ components-funneltooltip--with-long-unbroken-name--dark:
+ hash: v1.k794b7964.d4172780f1cb9b6577a9033d2f32759c0390565f5e31f1a998c5cf716cab372f.t__g5LgnJhE5dnQmEn9gOumcPZYLrXlb_eH5BZbCMig
+ components-funneltooltip--with-long-unbroken-name--light:
+ hash: v1.k794b7964.3ee447e85097decb46775693560b37ad52ff93826bef9aec37cb3842d7a79ce4.PKOEEP3Sw1XQi9Ixoqh8kVo0jEO--GoPyvD_nANXZD8
components-hedgehogmode--profile-picture-hog--dark:
hash: v1.k794b7964.969bdab0c4f15b4457bc162b9ad87ec0341d5e98ed3a9279494cc2f019c12250.5eEGiofVhJFttdE4ETVy01n1PTA-WrkIsgHZEB9rG5I
components-hedgehogmode--profile-picture-hog--light:
diff --git a/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss b/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss
index a5cf07151186..a84a7cd0c850 100644
--- a/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss
+++ b/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss
@@ -212,6 +212,10 @@
.FunnelTooltip {
width: 20rem;
+ .LemonRow__content {
+ overflow-wrap: anywhere;
+ }
+
table {
width: 100%;
border-spacing: 0;
diff --git a/frontend/src/scenes/funnels/FunnelTooltip.stories.tsx b/frontend/src/scenes/funnels/FunnelTooltip.stories.tsx
index e634c97d6bca..3fe5693ab852 100644
--- a/frontend/src/scenes/funnels/FunnelTooltip.stories.tsx
+++ b/frontend/src/scenes/funnels/FunnelTooltip.stories.tsx
@@ -51,3 +51,12 @@ export const WithLongName: Story = {
},
},
}
+
+export const WithLongUnbrokenName: Story = {
+ args: {
+ series: {
+ ...step,
+ name: 'a_very_long_snake_case_event_name_with_no_spaces_that_would_otherwise_be_clipped_by_the_tooltip',
+ },
+ },
+}