Reputation: 725
After upgrading Firefox to 17 iframe scrolling stopped working in my web application. I've read that something has changed with mouse wheel event in the latest Firefox ( https://wiki.mozilla.org/Gecko:Mouse_Wheel_Scrolling ) but I don't know why it would prevent my iframe from scrolling. Maybe it's because I'm creating this iframe automatically with JavaScript. Scrolling works in the latest version of Chrome and older versions of Firefox.
jQuery :
var iframe = $(document.createElement("iframe")).attr("src", $(this).attr("href")+"&without_js=1")
.css({"border": "0", "width": "100%", "height": ($(window).height() - 100 - 100)+"px", "overflow":"scroll"})
.attr("id", "zaplanowanie_przegladu_frame").attr("name", "table_frame").hide().appendTo($("body"));
Upvotes: 0
Views: 1901
Reputation: 330
I am experiencing a similar issue. I am placing scrolling on the body attribute of the iframe though. It was working prior to FF17. I will try to pull together a lowest common denominator reproduction of the bug.
I found someone reporting a similar issue on the mozilla support site: http://support.mozilla.org/en-US/questions/942843
Upvotes: 2