Friday, July 13, 2012

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!

3 comments:

Anonymous said...

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

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

jimmy jonsan said...


I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people. if you need any technical need to your chrome so feel free to contact us: (866)235-4333.see for more Scrolling not working in chrome

Harry davies said...

thanks for sharing this information with us i really like to read your blog and article, if your are looking for technical help for your pc and mobile so visit our website and contact us: (866)235-4333
hulu error code error p-dev320