Closed d13r closed 9 years ago
In IE11 the popup is not positioned correctly:
I tracked it down to window.scrollX/Y in viewportDetails() - these are null in IE11. That causes roomCalc() to return NaN for all values.
window.scrollX
Y
viewportDetails()
roomCalc()
NaN
I fixed it by replacing that function in bigfoot.js with this, which uses jQuery to get the values:
bigfoot.js
viewportDetails = function() { var $window = $(window); return { width: window.innerWidth, height: window.innerHeight, scrollX: $window.scrollLeft(), scrollY: $window.scrollTop() }; };
Thanks for the report — fix is in 033a2508e2c32a6aec38de7de01b13bce380eae4.
Thank you! :+1:
In IE11 the popup is not positioned correctly:
I tracked it down to
window.scrollX
/Y
inviewportDetails()
- these are null in IE11. That causesroomCalc()
to returnNaN
for all values.I fixed it by replacing that function in
bigfoot.js
with this, which uses jQuery to get the values: