We are working with a client and have successfully embedded the chat widget onto a Portal. A client request is to prevent the auto scroll when submitting a question, this can be achieved by setting the autoscrollonpage attribute to true in the styleoptions file. However this doesn't seem accessible via the Omni code snippet, as the widget.js file is stored in a cdn.
One option would be to create a custom widget, however the client has identified this as a nice to have. However I was wondering if anyone has come across this requirement before, specifically when it's for a Omni chatbot.
I have came across a article where they specified something like this.
A potential workaround could be to use JavaScript to override the default behavior on the page where the chat widget is embedded. After the chat widget is initialized on the page, use JavaScript to intercept or override the scroll event. You could monitor the widget’s DOM container and disable or adjust the scroll behavior as needed.
Thanks.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.