From f31142af02cc0a0d088aff2eecf5f4c7a9828aaf Mon Sep 17 00:00:00 2001 From: Ben White Date: Fri, 13 Oct 2023 12:36:19 +0200 Subject: [PATCH] Update packages/rrweb/src/utils.ts Co-authored-by: Eoghan Murray --- packages/rrweb/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rrweb/src/utils.ts b/packages/rrweb/src/utils.ts index 5f41910ae5..f426689d2f 100644 --- a/packages/rrweb/src/utils.ts +++ b/packages/rrweb/src/utils.ts @@ -249,7 +249,7 @@ export function isBlocked( if (!node) { return false; } - const el = getElementFromNode(node); + const el = closestElementOfNode(node); if (!el) { return false;