necolas/normalize.css — Issue #65: html { overflow-y: scroll; } jQuery UI drag/droppable in Firefox
Author: jalexanderfox
Created: 2011-12-20 23:30:48+00:00
State: open

First of all, I love the idea of this project, so thanks for making it happen.

So, I had a whole thing written up about this issue and then I realized how edge case this is...
Conditions that cause this issue for jQuery UI and Firefox (3x & 8x):
html { overflow-y:scroll; }
.container-for-dragable { position:[anything other than inherit] }

(issue discussed here: http://forum.jquery.com/topic/sortable-offset-when-element-is-dragged-and-page-scrolled-down-ff)

I think this is worth noting because the declaration "overflow-y: scroll;" does not only tell the browser (firefox in this case) to just add a vertical scrollbar, it can affect the calculation of positioned elements as well. Though it is important to make enhancements and make browsers more user friendly if possible, consideration for breaking things down the dom are also important.

"Keeps page centred [sic] in all browsers regardless of content height"
Oh, line 61, centered is spelled wrong.

Thanks again!