Bug: Background Page Scrolls When Scrolling Chat Box (Mobile Only)

Howdy,

It’s been like this for a while, so thought I’d finally bring it up to your attention.

On mobile devices (e.g., iPhones, iOS, Safari), when I scroll the chat box, the background page scrolls as well. Can you provide a temporary fix (i.e., CSS rule and/or JS code) for this condition?

Long term, it would be great if your developers can implement an internal, permanent solution.

Note: It wouldn’t hurt to check all other devices and screen sizes to ensure this condition is not occurring with them as well.

Thank you.

Hi there, @Petar_Dietrich :waving_hand:

Thanks for bringing this to our attention!

I’ve passed this info on to the devs and will update you once I have any news :slightly_smiling_face:

Hi there, Petar!

Our widget successfully prevents the page from scrolling when the chat window is open. However, this behavior doesn’t work correctly on iOS due to a platform-related issue, which cannot be resolved on our end.

With the default widget settings, this usually isn’t noticeable because the chat opens in full-screen mode. In your case, you’re using custom CSS to reduce the size of the expanded chat window, which is why the issue becomes visible.

At the moment, there are two possible options:

  • Remove the CSS code that changes the chat window size, so it opens in the default full-screen mode.

  • Use the CSS code I’ve sent to you in a personal message, but please note that it will reset the page scrolling position after opening the chat window:

Thank you, Max! I’ll take it from here. Cheers!