mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: update TextQuerySelector cache on subtree update (#11200)
This commit is contained in:
parent
6d2f4ac3e2
commit
4206e76c3e
@ -146,6 +146,7 @@ export const createTextContent = (root: Node): TextContent => {
|
|||||||
textChangeObserver.observe(root, {
|
textChangeObserver.observe(root, {
|
||||||
childList: true,
|
childList: true,
|
||||||
characterData: true,
|
characterData: true,
|
||||||
|
subtree: true,
|
||||||
});
|
});
|
||||||
observedNodes.add(root);
|
observedNodes.add(root);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user