This issue first came while I was trying to enable a permission for anonymous user for xml sitemap module.. in this link.. "/#overlay=admin/people/permissions/1%23module-user"
The height of the overlay container breaks and at the bottom of the page it shows the normal page area....
I have attached the screenshots of the issue...
I checked other administration pages but could not find this issue any where else other than for permission page redirected from modules, module page...
Theme I am using is Bartik theme....

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

droplet’s picture

what's your browser & try to disable devel themer

dejavu_007’s picture

FileSize
31.17 KB
31.38 KB

i use firefox 3.6.3.. but the issue is there for all browsers. And i also tried disabling devel modules but still the issue exist. The second screenshot above shows after disabling devel module.
It seems the issue is only for bartik theme... Garland theme and other themes works fine.. The style for 'body' tag in div#overlay container acts strange for that page.... normally the padding is 20px 0, margin-top 65px but for that page the margin top is 130px.
And the scroll of the browser looks like it has shifted up . (see screenshots below).
It looks like as if there is a negative margin-top for div#overlay-container. but i could'nt find any.

dejavu_007’s picture

Well I think I found what is causing this issue...
In bartik theme css/style.css

 line no. 1590
.overlay #skip-link,
.overlay .region-page-top,
.overlay #header,
.overlay #page-title,
.overlay #featured,
.overlay #sidebar-first,
.overlay #triptych-wrapper,
.overlay #footer-wrapper {
  display: none;
}

removing the line '.overlay #skip-link' seems to work fine..

dejavu_007’s picture

FileSize
61.06 KB

There is still this issue with overlay in this page "http://www.example.com/#overlay=admin" when a skip-link (Skip to main content) is clicked. Clicking on skip-link shifts the page to main content, but the page cannot be scrolled after that. The scroll bar is also not visible.
It is there for all themes...

jensimmons’s picture

Component: theme system » overlay.module

Marking this component: overlay module. Seems like it affects all themes.

dejavu_007’s picture

Thanks jensimmons.
The problem occurs only for short overlay pages which fits in browser window (no scroll bar present)
In modules/overlay/overlay-parent.css line 9 for element "#overlay-container, .overlay-modal-background, .overlay-element" changing 'postion: absolute;' to 'position: fixed;' seems to fix this.
I wonder if this might cause any other issues...

casey’s picture

We just changed to position:absolute: #878020: position:fixed prevents iOS devices from scrolling the Overlay

I didn't remember why we used position:fixed :) I don't have time but maybe you can find another solution?

dejavu_007’s picture

Title: Overlay height issue... height breaks » Overlay height breaks when skip-link (Skip to main content) is clicked for short pages
Assigned: dejavu_007 » Unassigned

Changing title.. "Overlay height issue... height breaks" to "Overlay height breaks when skip-link (Skip to main content) is clicked for short pages"

dejavu_007’s picture

Thanks casey.
I am just a beginner, so i'm not able to find out any better solution than using position:fixed. In the issue #878020: position:fixed prevents iOS devices from scrolling the Overlay "comment #12" has a patch which puts position:absolute for only iOS devices using js. Can that be applied, leaving other browsers with position:fixed.

mgifford’s picture

Version: 7.0 » 8.x-dev
Issue tags: +skip navigation

This needs to to be fixed in D8 first, right?

tim.plunkett’s picture

Issue tags: +Needs backport to D7
nod_’s picture

Version: 8.x-dev » 7.x-dev
Issue summary: View changes

Overlay is dead to D8 #2088121: Remove Overlay.

Sivaji_Ganesh_Jojodae’s picture

I couldn't reproduce this in latest Drupal 7.