Skip to content

Commit 060eb23

Browse files
committed
root.parentNode for visibility
1 parent 27720c8 commit 060eb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function define(cell) {
3333
if (loading) root._nodes.push(loading);
3434
const pending = () => reset(root, loading);
3535
const rejected = (error) => reject(root, error);
36-
const v = main.variable({_node: root, pending, rejected}, {shadow: {}}); // _node for visibility promise
36+
const v = main.variable({_node: root.parentNode, pending, rejected}, {shadow: {}}); // _node for visibility promise
3737
if (inputs.includes("display") || inputs.includes("view")) {
3838
let displayVersion = -1; // the variable._version of currently-displayed values
3939
const display = inline ? displayInline : displayBlock;

0 commit comments

Comments
 (0)