Open asm0dey opened 10 years ago
your demo pages acts really weird. please create a JSBIN to show the issue.
I can't reproduce this problem in jsfiddle :(
Having the same issue on Mac OS. Even the demo shows the native scrollbars: http://cl.ly/image/142M1h0C2l1K
I have the same issue. Firefox 28 on OS X display both the native scroll track and bar along the antiscroll bar
I think that the problem here is that Firefox on OS X at some point started using overlay (A.K.A. lion style) scrollbars. For antiscroll to work properly we need to measure the scrollbar width. The code that does that is here.
However since new Firefox scrollbar 'floats' over the content its width is measured as 0. As a result antiscroll does not add any padding to .aniscroll-inner
element that would hide the scrollbar, which in turn makes both scrollbars, native and antiscroll generated, visible.
In my component compatible fork I am using an ugly hack - adjusting the width of the scrollbar if its calculated witdth is 0. If someone wants to port it back here I can help.
If someone has a better idea how to properly fix it don't hold back ;-)
Example: http://fonbet.asm0dey.cloudbees.net/
Just resize browser window to size, when table doesn't fit into screen (by height).