Skip to content

Commit d12c375

Browse files
committed
fix #4846; pie chart rendering issue in shadowDOM
1 parent e71682a commit d12c375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/Filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class Filters {
127127
})
128128

129129
if (!attrs.noUserSpaceOnUse) {
130-
el.filterer().node.setAttribute('filterUnits', 'userSpaceOnUse')
130+
el.filterer()?.node?.setAttribute('filterUnits', 'userSpaceOnUse')
131131
}
132132

133133
// this scales the filter to a bigger size so that the dropshadow doesn't crops

0 commit comments

Comments
 (0)