From dfd6b1683c5e5c1e514e09b195eeff969c955afd Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Thu, 26 Oct 2023 18:08:03 -0400 Subject: [PATCH 1/2] fix: dynamically create CSS rules via JS instead of innerHTML - potentially fixes #878, not sure --- src/slick.grid.ts | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/src/slick.grid.ts b/src/slick.grid.ts index 833c61e0..64eaebdb 100644 --- a/src/slick.grid.ts +++ b/src/slick.grid.ts @@ -2299,33 +2299,27 @@ export class SlickGrid = Column, O e } protected createCssRules() { - const template = Utils.createDomElement('template', { innerHTML: '