diff --git a/packages/core/src/services/patterns.ts b/packages/core/src/services/patterns.ts index 76baafc2c3..d4fc125282 100644 --- a/packages/core/src/services/patterns.ts +++ b/packages/core/src/services/patterns.ts @@ -83,7 +83,7 @@ export default class PatternsService { patternElement.id = `carbon-${chartContainerID}-pattern-${id}`; mountedSVG.querySelector("g").removeAttribute("id"); - + // Apply fills to everything const allElementsInsideSVG = Array.prototype.slice.call(mountedSVG.querySelectorAll("pattern g *")); allElementsInsideSVG.forEach((element, elementIndex) => {