@infinite-table/infinite-react 6.2.7 → 6.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.dev.js CHANGED
@@ -5484,6 +5484,9 @@ function HeadlessTable(props) {
5484
5484
  requestAnimationFrame(() => {
5485
5485
  const scrollVarHost = scrollVarHostRef?.current;
5486
5486
  if (!scrollVarHost) {
5487
+ if (!domRef.current) {
5488
+ return;
5489
+ }
5487
5490
  domRef.current.style.setProperty(
5488
5491
  "transform",
5489
5492
  `translate3d(${-scrollPos.scrollLeft}px, ${-scrollPos.scrollTop}px, 0px)`
@@ -23594,7 +23597,7 @@ var useLicense = (licenseKey = "") => {
23594
23597
  }
23595
23598
  let valid2 = isValidLicense(licenseKey, {
23596
23599
  publishedAt: 1624970570587,
23597
- version: "6.2.7"
23600
+ version: "6.2.8"
23598
23601
  });
23599
23602
  if (!licenseKey && !valid2 && isInsidePlayground) {
23600
23603
  return true;
package/index.dev.mjs CHANGED
@@ -5425,6 +5425,9 @@ function HeadlessTable(props) {
5425
5425
  requestAnimationFrame(() => {
5426
5426
  const scrollVarHost = scrollVarHostRef?.current;
5427
5427
  if (!scrollVarHost) {
5428
+ if (!domRef.current) {
5429
+ return;
5430
+ }
5428
5431
  domRef.current.style.setProperty(
5429
5432
  "transform",
5430
5433
  `translate3d(${-scrollPos.scrollLeft}px, ${-scrollPos.scrollTop}px, 0px)`
@@ -23552,7 +23555,7 @@ var useLicense = (licenseKey = "") => {
23552
23555
  }
23553
23556
  let valid2 = isValidLicense(licenseKey, {
23554
23557
  publishedAt: 1624970570587,
23555
- version: "6.2.7"
23558
+ version: "6.2.8"
23556
23559
  });
23557
23560
  if (!licenseKey && !valid2 && isInsidePlayground) {
23558
23561
  return true;