Skip to main content

Notifications

Community site session details

Community site session details

Session Id : i/VATbaRuhekk0xCLz1JZU
Copilot Studio - General
Suggested answer

Omni Chat widget autoscroll

Like (1) ShareShare
ReportReport
Posted on 16 Oct 2024 14:45:32 by 2
Hi All,
 
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. 
 
Thanks
Categories:
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,527 Super User 2025 Season 1 on 27 Oct 2024 at 10:51:05
    Omni Chat widget autoscroll
     
    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.

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Artur Stepniak Profile Picture

Artur Stepniak 5 Super User 2025 Season 1

#2
Ekta Gupta Profile Picture

Ekta Gupta 4

#3
LM-12011854-0 Profile Picture

LM-12011854-0 2

Overall leaderboard
Loading started