ShareThis

SharePoint 2010 Vertical Scrolling Problem in Google Chrome

We had to support Google Chrome in one of the public facing website built on SharePoint 2010, and the only major issue we encountered was the vertical scrolling problem. To reproduce the problem, open the page in Google Chrome, if the vertical scroll bar exists, reload the page, we got grayed out scroll bar. When we refresh the page, sometimes horizontal scroll bar is not appearing.
For this issue we found a JQuery solution. Adding the following script in master page file fixed the issue for us.
<script type="text/javascript">
 jQuery(document).ready(function()
 {
  jQuery("#s4-workspace").height(jQuery(window).height() - jQuery("#s4-ribbonrow").height());
 });
</script>


Note: Even though the above script fixed the scrolling problem in our case, seems like it introduce other problems to different people. So use it with care!

1 Comment:

Anonymous said...

A simple fix could solve this, check the "sharepoint 2010 scrolling issue in chrome"

article at http://tad.co.in/?p=693