Skip to content

Commit

Permalink
fix: update TextQuerySelector cache on subtree update (#11200)
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnatello committed Oct 19, 2023
1 parent 6d2f4ac commit 4206e76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/puppeteer-core/src/injected/TextContent.ts
Expand Up @@ -146,6 +146,7 @@ export const createTextContent = (root: Node): TextContent => {
textChangeObserver.observe(root, {
childList: true,
characterData: true,
subtree: true,
});
observedNodes.add(root);
}
Expand Down

0 comments on commit 4206e76

Please sign in to comment.