Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(events): Pulse tap clears a leftover drag-selection band (LFE-14451) (#15521)

Nikita Kabardin187686a1e61e
diff --git a/web/src/features/events/components/outlier-strip/OutlierBarStrip.tsx b/web/src/features/events/components/outlier-strip/OutlierBarStrip.tsx
index 47a28c13b6..f434b9aecb 100644
--- a/web/src/features/events/components/outlier-strip/OutlierBarStrip.tsx
+++ b/web/src/features/events/components/outlier-strip/OutlierBarStrip.tsx
@@ -340,7 +340,10 @@ export function OutlierBarStrip({
if (!bin) return;
if (event.pointerType !== "mouse") {
// Touch tap = PREVIEW: pin the tooltip over the bucket; the
- // tooltip's Explore action performs the navigation.
+ // tooltip's Explore action performs the navigation. A leftover
+ // drag band from a previous span preview clears — one preview,
+ // one highlight.
+ onSelectionChange?.(null);
setTouchPreview({
fromMs: bin.bucketStartMs,
toMs: bin.bucketStartMs + stepMs,