Skip Ribbon Commands
Skip to main content
Version HistoryVersion History

Title

Temporarily remove mobile scrolling fix

Assigned To

Demers, Scott

Brief Description

 

Detailed Description

Scrolling in edit mode bre​aks for some users when mobile scroll fix is added.
Temporary solution = remove mobile accommodation in favour of working edit mode.

Comments

Demers, ScottNo presence information (8/23/2011 1:53 PM): Pushing UCDMaster.master tonight, 8-23-11
Vertical scrolling to be tested both anonymously and logged in at two authenticated levels – admin and authenticated user:
- Admin, log in with your own credentials
- Authenticated – log in with ATELstudent1 password is April#!%012
This can be done on any page in the site collection.
To be tested in FF 6, IE9, IE7, chrome, safari
New, GrahamNo presence information (8/23/2011 9:56 AM): Code has 3 main components
1. Hide ribbon from anonymous users
2. Conditional to scroll or fix body depending on authentication state
3. 2 extra wrapper divs with IDs for authenticated users.
 
CODE:
-----------------------------
--- code to hide ribbon ---
-----------------------------
<asp:LoginView runat="server">
    <AnonymousTemplate>
        <style type="text/css">
            #s4-ribbonrow { display: none; }
        </style>
    </AnonymousTemplate>
</asp:LoginView>
</head>
-----------------------------
--- code that writes different scroll & class attributes based on authentication state ---
-----------------------------
<asp:LoginView runat="server">
    <AnonymousTemplate>
        <body scroll="yes" id="layoutBody" onLoad="javascript:_spBodyOnLoadWrapper();">
    </AnonymousTemplate>
    <LoggedInTemplate>
        <body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master body" id="layoutBody">
    </LoggedInTemplate>
</asp:LoginView>
-----------------------------
--- write in necessary div containers and IDs only needed by authenticated users ---
-----------------------------
<asp:LoginView runat="server">
    <LoggedInTemplate>
     <div id="s4-workspace">
      <div id="s4-bodyContainer">
    </LoggedInTemplate>
</asp:LoginView> 
-----------------------------
--- close above divs ---
-----------------------------
<asp:LoginView runat="server">
    <LoggedInTemplate>
 </div>
</div>
    </LoggedInTemplate>
</asp:LoginView> 
 
Scott added solution to the main master page for cross site permission testing
 
Active Directory - Authenticated Users without Edit permissions
Atelstudent1 is an authenticated user that has read access to the website. As this user I visited several themes including the university level, SOM, CAP and CLAS.
I visited these sites in FF3.6, IE8, IE7, chrome and Safari on Windows 7.
Vertical scrolling was available in all of these areas in all browsers.
 
Editor level - Authenticated Users with Edit permissions on one part of the site
Atelstudent2 was set as an Editor (contribute only) level permission user for the School of Medicine.
As this user I visited several themes including the university level, SOM, CAP and CLAS.
I visited these sites in FF3.6, IE8, IE7, chrome and Safari on Windows 7.
Vertical scrolling was available in all of these areas in all browsers.
 
Contributor level - Authenticated Users with Contributor permission
Atelstudent2 was set as a Contributor (contribute and approve only) level permission user for all of ucdenver.edu
As this user I visited several themes including the university level, SOM, CAP and CLAS.
I visited these sites in FF3.6, IE8, IE7, chrome and Safari on Windows 7.
Vertical scrolling was available in all of these areas in all browsers.
 
Content Manager level - Authenticated Users with Content Manager permission
Atelstudent2 was set as a Content Manager (Manage Hierarchy, Approve, Contribute, Limited Access) level permission user for the School of Medicine.
As this user I visited several themes including the university level, SOM, CAP and CLAS.
I visited these sites in FF3.6, IE8, IE7, chrome and Safari on Windows 7.
Vertical scrolling was available in all of these areas in all browsers.

Site Owner level - Authenticated Users with Content Manager permission
Atelstudent2 was set as a SiteOwner (full access) level permission user for the School of Medicine.
As this user I visited several themes including the university level, SOM, CAP and CLAS.
I visited these sites in FF3.6, IE8, IE7, chrome and Safari on Windows 7.
Vertical scrolling was available in all of these areas in all browsers.
Anonymous
I visited these sites in FF3.6, IE8, IE7, chrome and Safari on Windows 7.
Vertical scrolling was available in all of these areas in all browsers.
 
New, GrahamNo presence information (8/22/2011 3:31 PM): Jen: Please add your test scenario(s) in the comment field then reassign to me. I have already confirmed that this removes scrolling on touchscreen devices.

Example Page

Browser/OS

 

Priority

(1) High

Priority Order

1

Status

(4) Completed

Start Date

 

Due Date

 

Release Date

 

Release Version

6.02

Server Deployment Status

(5) On Staging: Approved for Production

Requested By

 

Ticket Status

2. Closed

Workspace URL

 

Publicly Viewable?

No

Predecessors

 

Files to be pushed

UCDmaster.master

Project Priority

 

Project Manager

 

Staging Date

 

Communication Type

 

Testing: Scope

 

Testing: Severity

 

Testing Procedure

 

SharePoint Environment

 

TFS Work Item

 

Attachments

Content Type: Bug or Issue
Version: 8.0
Created at 8/22/2011 10:49 AM by Demers, Scott
Last modified at 8/30/2011 12:33 PM by Demers, Scott