Forum Discussion
Scrolling Panel Weird Issue
- 4 months ago
Here are the Format Shape>Text Box settings for the text box that holds the chat in the MRI_Samanthat_Memory_configured_01.story:
Here are the settings in the MRI_Final.story:
Very weird, since at least one of the Autofit options should be selected by default. But I'm guessing that if you upgrade the project text, and make the settings match what's in the original version, it'll work.
Here are the Format Shape>Text Box settings for the text box that holds the chat in the MRI_Samanthat_Memory_configured_01.story:
Here are the settings in the MRI_Final.story:
Very weird, since at least one of the Autofit options should be selected by default. But I'm guessing that if you upgrade the project text, and make the settings match what's in the original version, it'll work.
Thank you very much.
I didn't even new about the existence of these settings for the text boxes... Thank you very much.
Just one more thing that maybe you can help.
As you might have seen I getting answers from an external AI bot but I'm not getting how to make the text box scroll automatically and the manual scroll to see the answers doesn't fell very automated.
Do you have any idea on how to do that?
Thank you again
- JudyNollet4 months agoSuper Hero
JoseAGomes​ : I didn't preview your course. Since the issue was text auto-shrinking, I immediately looked at the Text Box settings.
I rarely use scrolling panels. My best guess is that you'd need JavaScript to make it scroll automatically as the "chat" continues.
Try searching the community; there may already be a discussion about that. If not, I suggest you start a new discussion, since it's a new topic.
- Nedim4 months agoCommunity Member
I think you targeted the wrong element. Try replacing the setTimeout function with the one below. I also added smooth scrolling so it doesn't look abrupt.
setTimeout(function () { var wrapper = document.querySelector('.textlib-inner'); if (!wrapper) return; var scroller = wrapper.querySelector('div'); if (scroller) { scroller.scrollTo({ top: scroller.scrollHeight, behavior: 'smooth' }); } }, 50);
- JoseAGomes4 months agoCommunity Member
Thank you, I will try it.
Related Content
- 6 months ago