Project

General

Profile

Actions

Patch #10128

closed

Disable IE 8 compatibility mode to fix wrong div.autoscroll scroll bar behaviour

Added by Daniel Ritz about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

It turns out IE 8 has a so called "Compatibility Mode" that effectively emulates IE 7 behavior (bugs). One of the bugs with compatibility mode is the scrolling behavior of div.autoscroll, like in the issue list:
When a horizontal scroll bar appears (many columns selected), the horizontal scroll bar overlays the issue list, a vertical scroll bar appears and the height of the issue list is not expanded correctly. With only one issue in the list, this makes it impossible to read the details in the table. Firefox does it right in any version, Safari too, IE 8 can do it right if it's not in Compatibility mode. Unfortunately IE 8 defaults to compatibility mode for sites in an intranet (at least in our company). Asking all users to use Firefox or reconfigure IE is not a good solution.

There's a way to tell IE to disable compatibility mode with a meta tag:

<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />

This makes each IE version specified here use it's native behavior (ordering is important: newer ones need to be first). Firefox and Safari are unaffected by the change.

Patch against Redmine 1.2.3 attached. Applies cleanly to 1.3.0 and trunk as well.


Files

ie8fix.patch (519 Bytes) ie8fix.patch Daniel Ritz, 2012-02-01 14:27
Actions #1

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 1.4.0

Committed in r9372.

Actions #2

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Resolved to Closed

Merged in r9377.

Actions

Also available in: Atom PDF