Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We're building a SP2010 SP1 site.

For users on Chrome, sometimes the scrollbar doesn't display. The user has to refresh 1-10 times until the scrollbar appears.

Why does Chrome have trouble consistently displaying the scrollbar in SP2010?

share|improve this question

5 Answers 5

I've confirmed this link is a solution: http://kyleschaeffer.com/sharepoint/sharepoint-2010-scrolling/

Our scrollbar always works, scripting doesn't break, and we haven't seen any negative side effects!

share|improve this answer
    
This is great! We've had this issue in our custom site for a long time now. Glad I can propose a solution. –  MichaelF Mar 28 '12 at 18:44

While it's not an "official" post, the Microsoft blog, along with several other posts does state that Chrome is supported post-SP1, along with IE9 in IE8 standards mode. The addition of Chrome support in Service Pack 1 includes both SharePoint and Office Web Apps.

I have seen this issue in both vanilla environments, as well as those with some pretty extreme customization, and it only presents itself when the SharePoint managed scrolling is enabled. I haven't been able to identify a fix, but my (caveat this is my opinion) thoughts are that it stems from the JavaScript that does the screen size calculations to scroll the main content div. If the script fires slightly out of order and grabs the height of the content div before all of the content has loaded, it fails to add the scrollbar since it doesn't think there is enough content to warrant it.

I've thought about browser sniffing, and if the user agent shows desktop Chrome, manually calling that script operation a second time to try and validate that's the hang up, but I haven't really had enough time to sit down and troubleshoot it.

share|improve this answer
    
That's really interesting. We're gonna try it out and report back how it goes. –  Adam Siemiginowski Feb 28 '12 at 21:33
    
Anybody tried this? kyleschaeffer.com/sharepoint/sharepoint-2010-scrolling –  Adam Siemiginowski Mar 5 '12 at 18:31
1  
I've confirmed this link is a solution: kyleschaeffer.com/sharepoint/sharepoint-2010-scrolling Our scrollbar always works, scripting doesn't break, and we haven't seen any negative side effects! –  Adam Siemiginowski Mar 6 '12 at 21:17

Keep in mind that Chrome is not a supported browser in SharePoint 2010:

TechNet: Plan browser support (SharePoint Server 2010)

share|improve this answer
1  
It is if you're running Service Pack 1 or greater. –  webdes03 Feb 27 '12 at 22:19
2  
I didn't believe it, but here is the source to the claim that SP1 supports Chrome: technet.microsoft.com/en-us/library/ff925944.aspx, though note this is for OWA, I can't find one for SP2010 itself. –  shufler Feb 28 '12 at 0:01
1  
Note that link is for OWA only, not SharePoint Server as a whole. You'll also note that the original link was last updated in Sept 2011, after the release of SP1. –  Trevor Seward Feb 28 '12 at 0:43
1  
This topic is a little outdated now; the browser support planning for SharePoint 2010 now reflects support for Chrome. –  webdes03 Oct 22 '12 at 17:49
1  
Yep, they "support everything", but Chrome still does not show the scroll bar and will also add two of the same entry to the People Editor when picked from the People Picker. Also, Project Server has some pages that are IE-only. –  Trevor Seward Oct 22 '12 at 22:07

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

share|improve this answer
1  
We require relevant answers and disclosure of any affiliation with products or websites. Please see May I promote products or websites I am affiliated with here? for guidelines. –  SPDoctor Oct 23 '12 at 11:16
    
This is indeed a clean approach to the problem - the KyleSchaeffer solution is not clean AT ALL (lots of side-effects). Upvoting. –  George Katsanos Jan 31 '13 at 15:57
    
Nice solution. I have used it, too. Could you paste the code in your answer as well? –  Anatoly Mironov Jan 31 '13 at 16:13

Here's the only clean solution I found to solve this problem. The KyleSchaeffer solution is not clean and comes with loads of side-effects: http://withinsharepoint.com/archives/256 This code was cleaned from another guy who posted it on github: https://gist.github.com/4224245 . It basically re-executes the function on webkit browsers if it hasn't been executed the first time. It's as clean and accessible as it gets.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.