Automattic / antiscroll

OS X Lion style cross-browser native scrolling on the web that gets out of the way.
1.07k stars 162 forks source link

scrollbarSize() calculation issue for scaled page (FireFox) #83

Open Yurka opened 10 years ago

Yurka commented 10 years ago

During the scroll bar size calculation the test div element with 50x50px is temporary created. But from some page scale (50%) this isn't enough for scrollbars (or scroll buttons, I'm not sure) and this function returns size 0. Suppose that larger div should used (in my case it was 200x200).