How to Disable Auto-Scrolling to the Bottom in Microsoft Bot Framework Web Chat?

I’m using Microsoft Bot Framework Web Chat CDN for my chatbot. Whenever a new bot message appears, the chat automatically scrolls to the bottom, which hides earlier messages. I want to disable this auto-scrolling so that users can view new messages starting from the top of the chat window, rather than being taken to the bottom each time

What I tried:

I attempted to customize the Web Chat behavior using the scrollToEnd middleware and JavaScript to control scrolling, but these approaches either did not prevent auto-scrolling or affected the overall chat experience in ways I did not intend.

What I was expecting:

I expected to disable auto-scrolling so that new messages would appear at the top of the chat window, allowing users to see the content from the beginning of the conversation without being automatically scrolled to the bottom.