Merge pull request #643 from jdfreder/pager

Force pager to draw scrollbars on FireFox
This commit is contained in:
Matthias Bussonnier 2015-10-22 10:10:47 -07:00
commit 07126232b4

View File

@ -78,6 +78,13 @@ define([
// This allows the pager-contents div to use percentage sizing.
that.pager_element.height(that.pager_element.height());
that._resize();
// HACK: Less horrible, but still horrible hack to force the
// pager to show it's scrollbars on FireFox. ipython/ipython/#8853
that.pager_element.css('position', 'relative');
window.requestAnimationFrame(function() { /* Wait one frame */
that.pager_element.css('position', '');
});
});
});