ninegrid2 6.378.0 → 6.379.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.
@@ -135,7 +135,7 @@ class aiMessage extends HTMLElement
135
135
  const grd = this.shadowRoot.querySelector("nine-grid");
136
136
  grd.data.source = this.#data;
137
137
 
138
- this.scrollIntoView({ behavior: "smooth", block: "end" });
138
+ //this.scrollIntoView({ behavior: "smooth", block: "end" });
139
139
  });
140
140
  };
141
141
  }
@@ -262,7 +262,9 @@ class aiChat extends HTMLElement
262
262
  break;
263
263
  }
264
264
 
265
- el.scrollIntoView({ behavior: "smooth", block: "end" });
265
+ setTimeout(() => {
266
+ el.scrollIntoView({ behavior: "smooth", block: "end" });
267
+ });
266
268
  };
267
269
  }
268
270
 
@@ -27477,7 +27477,7 @@ class aiMessage extends HTMLElement
27477
27477
  const grd = this.shadowRoot.querySelector("nine-grid");
27478
27478
  grd.data.source = this.#data;
27479
27479
 
27480
- this.scrollIntoView({ behavior: "smooth", block: "end" });
27480
+ //this.scrollIntoView({ behavior: "smooth", block: "end" });
27481
27481
  });
27482
27482
  };
27483
27483
  }
@@ -27601,7 +27601,9 @@ class aiChat extends HTMLElement
27601
27601
  break;
27602
27602
  }
27603
27603
 
27604
- el.scrollIntoView({ behavior: "smooth", block: "end" });
27604
+ setTimeout(() => {
27605
+ el.scrollIntoView({ behavior: "smooth", block: "end" });
27606
+ });
27605
27607
  };
27606
27608
  }
27607
27609
 
@@ -27475,7 +27475,7 @@ class aiMessage extends HTMLElement
27475
27475
  const grd = this.shadowRoot.querySelector("nine-grid");
27476
27476
  grd.data.source = this.#data;
27477
27477
 
27478
- this.scrollIntoView({ behavior: "smooth", block: "end" });
27478
+ //this.scrollIntoView({ behavior: "smooth", block: "end" });
27479
27479
  });
27480
27480
  };
27481
27481
  }
@@ -27599,7 +27599,9 @@ class aiChat extends HTMLElement
27599
27599
  break;
27600
27600
  }
27601
27601
 
27602
- el.scrollIntoView({ behavior: "smooth", block: "end" });
27602
+ setTimeout(() => {
27603
+ el.scrollIntoView({ behavior: "smooth", block: "end" });
27604
+ });
27603
27605
  };
27604
27606
  }
27605
27607
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.378.0",
4
+ "version": "6.379.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -135,7 +135,7 @@ class aiMessage extends HTMLElement
135
135
  const grd = this.shadowRoot.querySelector("nine-grid");
136
136
  grd.data.source = this.#data;
137
137
 
138
- this.scrollIntoView({ behavior: "smooth", block: "end" });
138
+ //this.scrollIntoView({ behavior: "smooth", block: "end" });
139
139
  });
140
140
  };
141
141
  }
@@ -262,7 +262,9 @@ class aiChat extends HTMLElement
262
262
  break;
263
263
  }
264
264
 
265
- el.scrollIntoView({ behavior: "smooth", block: "end" });
265
+ setTimeout(() => {
266
+ el.scrollIntoView({ behavior: "smooth", block: "end" });
267
+ });
266
268
  };
267
269
  }
268
270