Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Overlay doesn't get appropriate margin-top and Shortcuts panel overlaps its top. For admin pages & Seven theme this makes local task's tabs not accessible (see the screenshots 1 & 2)
Drupal 7.19 + jQuery Update with JQuery 1.8.
Tracing JS revealed that error occurs in 873rd line of the overlay-parent.js
:
displacement = lastDisplaced.offset().top + lastDisplaced.outerHeight();
where calling jQuery function lastDisplaced.outerHeight()
instead of a expected number returns HTML (see the 3rd screenshot).
Comments
Comment #1
OnkelTem CreditAttribution: OnkelTem commentedIt's a bug in jQuery UI. 1.8.11 which was fixed in 1.8.24.
This is test case. It should output "300" in console.
// ERROR: outputs HTML elements instead of a number
jQuery 1.8.2 + jQuery UI 1.8.11
http://jsbin.com/enoqem/7/edit
// CORRECT
jQuery 1.8.2 + jQuery UI 1.8.24
http://jsbin.com/enoqem/9/edit
Comment #2
OnkelTem CreditAttribution: OnkelTem commentedComment #3
ericduran CreditAttribution: ericduran commentedYep, this is actually a jQuery UI issue. This is fixed in the latest version. See #1947438: Update jQuery UI to the latest version (1.10.2)