Ticket #601 (new defect)

Opened 5 years ago

Last modified 3 years ago

backstage cloak can be scrolled out of view

Reported by: FND Owned by: JeremyRuston
Priority: trivial Milestone: 2.7.1
Component: core Version:
Severity: trivial Keywords:
Cc:

Description (last modified by FND) (diff)

The backstage cloak only covers the current screen. Consequently, if the viewport is larger than the screen, the backstage cloak can be scrolled out of view.

Change History

Changed 5 years ago by FND

  • priority changed from undefined to trivial

The backstage cloak only covers the current screen. Consequently, if the viewport is larger than the screen, the backstage cloak can be scrolled out of view.

Changed 5 years ago by FND

  • description modified (diff)

Changed 5 years ago by FND

There are various potential solutions suggested  here - e.g.:

if(window.innerHeight && window.scrollMaxY) { // Firefox
    pageWidth = window.innerWidth + window.scrollMaxX;
    pageHeight = window.innerHeight + window.scrollMaxY;
} else if( document.body.scrollHeight > document.body.offsetHeight) { // all but Explorer Mac
    pageWidth = document.body.scrollWidth;
    pageHeight = document.body.scrollHeight;
} else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
    pageWidth = document.body.offsetWidth + document.body.offsetLeft;
    pageHeight = document.body.offsetHeight + document.body.offsetTop;
}

Changed 4 years ago by FND

  • milestone changed from 2.5.1 to 2.6

jQuery-related refactoring might solve this issue.

Changed 3 years ago by MartinBudden

  • milestone changed from 2.6.2 to 2.7.1

Milestone 2.6.2 deleted

Note: See TracTickets for help on using tickets.