Skip to content

Commit 900853c

Browse files
authored
fix: data attr in inspector not reactive.. (#462)
Data attr missing in list for Proxy so any changes to data was not reflected in inspector output.
2 parents d9d048a + e794196 commit 900853c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main-api/Inspector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ const knownProperties = new Set<string>([
148148
// ...gradientColorPropertyMap,
149149
'src',
150150
'parent',
151+
'data',
151152
]);
152153

153154
export class Inspector {
@@ -312,7 +313,6 @@ export class Inspector {
312313
},
313314
});
314315

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

0 commit comments

Comments
 (0)