lisichatbot 1.7.5 → 1.7.7
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/package.json +1 -1
- package/src/index.js +5 -3
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -51,9 +51,11 @@ let flowData = null;
|
|
|
51
51
|
function scrollToBottom() {
|
|
52
52
|
if (!elements.messages) return;
|
|
53
53
|
|
|
54
|
-
// ✅
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
// ✅ Force scroll to a very large number to ensure we're at bottom
|
|
55
|
+
// This works even when container is growing dynamically
|
|
56
|
+
elements.messages.scrollTop = 999999;
|
|
57
|
+
|
|
58
|
+
console.log(` 📜 Forced scroll to bottom (scrollTop set to 999999)`);
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
function enableNextButton() {
|