Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
toolbar.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2016 at 18:03 UTC
Updated:
26 Oct 2016 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ssneve90@gmail.com commentedI've added some images that show what happens in this bug.
Comment #3
ssneve90@gmail.com commentedI looked into this issue and found that a parenthesis was not completely wrapping a ternary conditional operator for the expression that Internet Explorer uses to offset the toolbar. This happened in the file displace.js which seems to be used by multiple modules to calculate the offset.
Comment #6
kristofferwiklund commentedI could reproduce the bug on IE11.
Patch solves the problem.
Comment #7
kristofferwiklund commentedMight conflict with this issue. #2751643: Body padding too large, displace calculation inconsistent (IE10, IE11, and iPad2)
Comment #8
snte commentedThanks kristofferwiklund for the hint, and sjsneve for the patch! I combined this patch with the related in #2751643 (for 8.3.x-dev), if that is OK. I think both make sense.
Comment #9
alexpottCommitted and pushed a1af653 to 8.3.x and 8cd9c2c to 8.2.x. Thanks!
The ternary is definitely incorrectly implemented obviously chrome and FF somehow copy with this but IE doesn't - and we don't have specific browser testing so we can not add an automated test for this.