ninegrid2 6.375.0 → 6.376.0

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.
@@ -130,6 +130,7 @@ class aiMessage extends HTMLElement
130
130
  `;
131
131
 
132
132
  this.shadowRoot.querySelector(".grid").innerHTML = html;
133
+ this.scrollIntoView({ behavior: "smooth", block: "end" });
133
134
 
134
135
  setTimeout(() => {
135
136
  const grd = this.shadowRoot.querySelector("nine-grid");
@@ -259,7 +260,7 @@ class aiChat extends HTMLElement
259
260
  default:
260
261
  break;
261
262
  }
262
-
263
+
263
264
  el.scrollIntoView({ behavior: "smooth", block: "end" });
264
265
  };
265
266
  }
@@ -27472,6 +27472,7 @@ class aiMessage extends HTMLElement
27472
27472
  `;
27473
27473
 
27474
27474
  this.shadowRoot.querySelector(".grid").innerHTML = html;
27475
+ this.scrollIntoView({ behavior: "smooth", block: "end" });
27475
27476
 
27476
27477
  setTimeout(() => {
27477
27478
  const grd = this.shadowRoot.querySelector("nine-grid");
@@ -27598,7 +27599,7 @@ class aiChat extends HTMLElement
27598
27599
  target.appendChild(el);
27599
27600
  break;
27600
27601
  }
27601
-
27602
+
27602
27603
  el.scrollIntoView({ behavior: "smooth", block: "end" });
27603
27604
  };
27604
27605
  }
@@ -27470,6 +27470,7 @@ class aiMessage extends HTMLElement
27470
27470
  `;
27471
27471
 
27472
27472
  this.shadowRoot.querySelector(".grid").innerHTML = html;
27473
+ this.scrollIntoView({ behavior: "smooth", block: "end" });
27473
27474
 
27474
27475
  setTimeout(() => {
27475
27476
  const grd = this.shadowRoot.querySelector("nine-grid");
@@ -27596,7 +27597,7 @@ class aiChat extends HTMLElement
27596
27597
  target.appendChild(el);
27597
27598
  break;
27598
27599
  }
27599
-
27600
+
27600
27601
  el.scrollIntoView({ behavior: "smooth", block: "end" });
27601
27602
  };
27602
27603
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.375.0",
4
+ "version": "6.376.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -130,6 +130,7 @@ class aiMessage extends HTMLElement
130
130
  `;
131
131
 
132
132
  this.shadowRoot.querySelector(".grid").innerHTML = html;
133
+ this.scrollIntoView({ behavior: "smooth", block: "end" });
133
134
 
134
135
  setTimeout(() => {
135
136
  const grd = this.shadowRoot.querySelector("nine-grid");
@@ -259,7 +260,7 @@ class aiChat extends HTMLElement
259
260
  default:
260
261
  break;
261
262
  }
262
-
263
+
263
264
  el.scrollIntoView({ behavior: "smooth", block: "end" });
264
265
  };
265
266
  }