web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Omni Chat widget autos...
Copilot Studio
Suggested Answer

Omni Chat widget autoscroll

(1) ShareShare
ReportReport
Posted on 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,597 Super User 2025 Season 1 on at
     
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
11manish Profile Picture

11manish 113 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 83

#3
anirudhev Profile Picture

anirudhev 70

Last 30 days Overall leaderboard