Skip to content Skip to sidebar Skip to footer

Messenger Chat Plugin Scrolls To Top On Load

When using hash parameters to automatically scroll the page to an anchor on page load, the messenger chat plugin automatically scrolls the page to the top if its load is delayed. T

Solution 1:

The bug is currently being tracked here: https://developers.facebook.com/support/bugs/619023102320436/.

At the moment I have implemented the following hack (around the load time of the plugin):

var originalScrollTo = window.scrollTo;
window.scrollTo = function() {};

setTimeout(function() {
 window.scrollTo = originalScrollTo;
}, 5000);

Post a Comment for "Messenger Chat Plugin Scrolls To Top On Load"