[wp-trac] [WordPress Trac] #27220: Twenty Fourteen - masthead-fixed does not work on IE when using header image

WordPress Trac noreply at wordpress.org
Tue Apr 8 13:04:25 UTC 2014


#27220: Twenty Fourteen - masthead-fixed does not work on IE when using header
image
---------------------------+-----------------------------
 Reporter:  salsaturation  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:  3.8.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------
Changes (by Kau-Boy):

 * keywords:  needs-patch => has-patch


Comment:

 The Bug is rather easy to fix. IE dos not support window.scrollY but as WP
 is using jQuery, just use $( window ).scrollTop() instead (or something
 like document.body.scrollTop which should also be cross-browser and
 probably a lot more efficient).

 I've added a path with the jQuery variant fixing the bug. I hope to see
 this fixed in 3.9 or upcoming versions.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27220#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list