Skip to content

Commit 1de477a

Browse files
(fix) add pendo as a known outside click (#112388)
<!-- Describe your PR here. --> Third-party packages (e.g. Pendo) aren't considered as outside clicks for the breadcrumb drawer, this adds its container as an additional condition to check. <!-- Sentry employees and contractors can delete or ignore the following. --> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. --------- Co-authored-by: Scott Cooper <scttcper@gmail.com>
1 parent 1dce908 commit 1de477a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

static/app/components/events/breadcrumbs/breadcrumbsDataSection.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ export function BreadcrumbsDataSection({
105105
if (viewAllButton?.contains(element)) {
106106
return false;
107107
}
108+
// Third-party packages (e.g. Pendo) use a container with id "pendo-guide-container".
109+
// If the click is inside that container, treat it as an internal click.
110+
if (element.closest('#pendo-guide-container')) {
111+
return false;
112+
}
108113
return true;
109114
},
110115
}

0 commit comments

Comments
 (0)