Skip to content

Commit

Permalink
fix #4846; pie chart rendering issue in shadowDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Dec 2, 2024
1 parent e71682a commit d12c375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Filters {
})

if (!attrs.noUserSpaceOnUse) {
el.filterer().node.setAttribute('filterUnits', 'userSpaceOnUse')
el.filterer()?.node?.setAttribute('filterUnits', 'userSpaceOnUse')
}

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

0 comments on commit d12c375

Please sign in to comment.