@lokutor/sdk 1.1.28 → 1.1.29
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/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
- package/src/conversational-panel.ts +4 -0
package/dist/index.js
CHANGED
|
@@ -1616,6 +1616,8 @@ var ConversationalPanel = class {
|
|
|
1616
1616
|
this.startBtn.disabled = true;
|
|
1617
1617
|
this.errorEl.classList.remove("is-visible");
|
|
1618
1618
|
this.playConnectingSound();
|
|
1619
|
+
const rect = this.el.getBoundingClientRect();
|
|
1620
|
+
this.el.style.height = rect.height + "px";
|
|
1619
1621
|
try {
|
|
1620
1622
|
const ConvoAgent = this.cfg.ConvoAgent;
|
|
1621
1623
|
const SphereVisualizer = this.cfg.SphereVisualizer;
|
package/dist/index.mjs
CHANGED
|
@@ -1569,6 +1569,8 @@ var ConversationalPanel = class {
|
|
|
1569
1569
|
this.startBtn.disabled = true;
|
|
1570
1570
|
this.errorEl.classList.remove("is-visible");
|
|
1571
1571
|
this.playConnectingSound();
|
|
1572
|
+
const rect = this.el.getBoundingClientRect();
|
|
1573
|
+
this.el.style.height = rect.height + "px";
|
|
1572
1574
|
try {
|
|
1573
1575
|
const ConvoAgent = this.cfg.ConvoAgent;
|
|
1574
1576
|
const SphereVisualizer = this.cfg.SphereVisualizer;
|
package/package.json
CHANGED
|
@@ -401,6 +401,10 @@ export class ConversationalPanel {
|
|
|
401
401
|
this.errorEl.classList.remove('is-visible');
|
|
402
402
|
this.playConnectingSound();
|
|
403
403
|
|
|
404
|
+
// Lock panel height to prevent any content changes from shifting layout
|
|
405
|
+
const rect = this.el.getBoundingClientRect();
|
|
406
|
+
this.el.style.height = rect.height + 'px';
|
|
407
|
+
|
|
404
408
|
try {
|
|
405
409
|
const ConvoAgent = this.cfg.ConvoAgent;
|
|
406
410
|
const SphereVisualizer = this.cfg.SphereVisualizer;
|