SharePoint 2010 and Google Chrome where the scrolling and ribbon do not work

Reason for the Chrome/Scroll bar issue. Its the SharePoint Search bar.
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/>
</asp:ContentPlaceHolder>
If I put this in the hidden panel in the bottom of my master page the scroll and ribbon issues in Chrome go away. Give it a try and see if its the same for you environment. At this point I cant think of a fix other than not using the search control on sites that have to have Chrome support.


OR


Step 2: Remove that pesky scroll=”no” on the body tag.
<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
Why? Because if we don’t then we will not be able to scroll on IE7.

Look for this:

And replace with this:

<body onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined')
_spBodyOnLoadWrapper();"
 class="v4master">

3 comments:

  1. A simple fix could solve this, check the "sharepoint 2010 scrolling issue in chrome" article at http://tad.co.in/?p=693

    ReplyDelete
  2. Hi Million Dollar Man. this is work but if you remover or hide default SharePoint tag so it is not working that time you need to put control in hidden panel



    Edit your Master Page in SharePoint Designer and locate the below line:


    Remove the onload attribute from your body tag.

    Add the below script tag inside your body tag



    $(document).ready(function () {

    if (typeof(_spBodyOnLoadWrapper) != ‘undefined’)

    {

    _spBodyOnLoadWrapper();

    }

    });



    Thanks

    ReplyDelete
  3. This fix causes issues for the Calendar web part views. The issue is intermittent in the edit view where the dialog pop up is disabled.

    ReplyDelete

Powered by Blogger.