Skip to content

Commit

Permalink
fix: data attr in inspector not reactive.. (#462)
Browse files Browse the repository at this point in the history
Data attr missing in list for Proxy so any changes to data was not
reflected in inspector output.
  • Loading branch information
wouterlucas authored Dec 9, 2024
2 parents d9d048a + e794196 commit 900853c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main-api/Inspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const knownProperties = new Set<string>([
// ...gradientColorPropertyMap,
'src',
'parent',
'data',
]);

export class Inspector {
Expand Down Expand Up @@ -312,7 +313,6 @@ export class Inspector {
},
});

// eslint-disable-next-line @typescript-eslint/unbound-method
const originalAnimate = node.animate;
Object.defineProperty(node, 'animate', {
value: (
Expand Down

0 comments on commit 900853c

Please sign in to comment.